Since Weather Underground is no longer going to be hosting webcam images I have to do it myself. I currently use GoDaddy to host a Worpress website and I want to use a page of that website to display static images that are uploaded every 10 minutes.
So far:
-Camera is uploading images in nested folders every 10 minutes.
-I need a script that takes the latest *jpg image from the folders to create a current static image with a consistent name.
A user @Ian. with similar issues posted his problem which is similar to mine here.
http://www.wxforum.net/index.php?topic=33009.0I did everything I could following the different instructions from that thread. I have the same error he encountered but I can't resolve it, even though he did.
The errors:
Warning: sort() expects parameter 1 to be array, null given in /home/content/45/3170445/html/krb/wp-content/uploads/webcam//hik.php on line 37
Warning: copy(): The first argument to copy() function cannot be a directory in /home/content/45/3170445/html/krb/wp-content/uploads/webcam/hik.php on line 50
Any help would be greatly appreciated.