I have a page that passes $day, $date and $year through a form.
These are then used in a url like this track$day$month$year.html ie: track12022003.html
What I need is the code to check if the file exists, if it does it will go that file and if it doesnt it will go to noresults.html
Any help with this is appreciated.
file = track$day$month$year.html
go to the file's url
the file doesnt exist so load the noresults.html fil;e
I used a search for image function.
I don't know if it helps, but you could assign a small pic to each document, and check if the picture exists by using the onError. If it exists, then bring in the relevent info.