Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

New Member - MikeM
#20

Since the website is running fine I'd like to add a weather camera to the website, problem is I have no idea how websites are put together or how it works.

Managed to add a "webcam" page and display an image from copying code from here:http://sandaysoft.com/forum/viewtopic.php?f=19&t=15807

All seems to work fine, but the latest image is not loaded.
I do understand why the latest image is not loaded as the filename of the image to display is hardcoded and I need some code to load the latest image the webcam ftp'd to the webserver.

The webcam upload the images via ftp to the webserver as "cam1_20170325-150650.jpg" for example, problem is the date and time stamp within the filename changes as the webcam uploads new images.
How do I load the latest image with the filename constantly changing?
Anyone that can assist?

My webcam page: http://mht.co.za/weather/webcams.htm
Reply


Messages In This Thread
New Member - MikeM - by MikeM - 31-08-2016, 19:09
RE: New Member - MikeM - by werk_ag - 31-08-2016, 21:07
RE: New Member - MikeM - by MikeM - 01-09-2016, 16:05
RE: New Member - MikeM - by hornychz - 31-08-2016, 22:44
RE: New Member - MikeM - by uncle_bob - 01-09-2016, 11:21
RE: New Member - MikeM - by MikeM - 10-10-2016, 08:23
RE: New Member - MikeM - by werk_ag - 11-10-2016, 03:03
RE: New Member - MikeM - by MikeM - 11-10-2016, 08:07
RE: New Member - MikeM - by Barrow4491 - 12-10-2016, 05:13
RE: New Member - MikeM - by Zappie - 10-10-2016, 21:56
RE: New Member - MikeM - by zitoune - 12-10-2016, 12:18
RE: New Member - MikeM - by MikeM - 10-03-2017, 08:38
RE: New Member - MikeM - by werk_ag - 11-03-2017, 03:02
RE: New Member - MikeM - by hornychz - 11-03-2017, 06:27
RE: New Member - MikeM - by werk_ag - 11-03-2017, 06:48
RE: New Member - MikeM - by hornychz - 11-03-2017, 13:13
RE: New Member - MikeM - by werk_ag - 12-03-2017, 03:54
RE: New Member - MikeM - by spudstrawb - 11-03-2017, 00:13
RE: New Member - MikeM - by MikeM - 12-03-2017, 12:39
RE: New Member - MikeM - by MikeM - 25-03-2017, 14:29
RE: New Member - MikeM - by uncle_bob - 25-03-2017, 15:01
RE: New Member - MikeM - by MikeM - 25-03-2017, 15:21



Users browsing this thread: 1 Guest(s)