Forum Moderators: coopster
I'm looking for some php code to display images from a webcam. I've looked extensively for this but all the code examples I found require the image name to stay constant, with the image being updated via ftp by the webcam
BUT the type of webcam I have to use creates a new image for each FTP update. So you end up woth lots of differently named images. Also the image names are not sequential so you can't do a simple loop through variable names
Can anyone who has had experience of this type of webcam provide any pointers.
Thanks in advance
You can, however, loop through the files in order as they appear in the directory (or however you sort them). Refer to the directory functions [us.php.net] for some ideas.