Is it possible to look up with PHP if a website already exist ? For example: http://www.website.com/images/image1.html is an aders where an image is placed, image #1 that is. Every now and then the website is updated and a new image is added. The next image will be located on: http://www.website.com/images/image2.html
So my question is: Is it possible to use PHP to lookup if image2.html already exist so that i can show it on my own site [url]http://www.another_website_wich_will_show_the_newest_image_that_is_available_on_the_first_website_i_mentioned.com.[/url]
The logic would be : If there is a new html document with an image# that is higher then the current that i am linking, then change my current link into the new one.