jeudi 30 janvier 2020

Check continuously if a file exists with PHP/HTML and AJAX

I want to create a website that waits for an image to be placed in a folder on the webserver. The website should check every few seconds (like 5 or 10 seconds) if there is an image in the folder and if there is one display it and stop refreshing. Has anybody tried this before? Could I do something like this with AJAX?




Aucun commentaire:

Enregistrer un commentaire