Hi
I need help with a script that does the following
I want to download a file called "test200801012106.jpg"
for example: http://localhost/test200801012106.jpg
But, the only thing i know it that the file is called test...jpg. i dont know the numbers (which are time and date).
So i know the following: http://localhost/test$year$month$day$hour$minute.jpg
So... i want to download that file, but what if i dont know the date?
Could someone show me how to write a php script, that just trys the dates? and then downloading it with wget, for example.
So for example from 2005 on, every month from 01-12, ever day from 01-31, every hour from 01-24 and every minute from 01-60.
Is this possible (i know it should, but i just dont know how)
Please help me
( I know many of you are good, so please help me with this little problem)
Thx