PDA

View Full Version : 404 page and auto search


BusterLee
06-19-2003, 06:00 PM
I have posted this message here as I dont know what can be used to perfom the task.

I, like many websites, have a standard 404 error page. However I notice that some websites, when you arrive at their page, they display on screen the search terms that where entered to find that page.

Is there a way that this could be used to auto complete a text field in a search box on the 404 page so that if the visitor wanted to search for the page they originally came to see.

I do have a search site facility wth freefind but wondered how these site get to display the search terms on their site.

pardicity3
06-19-2003, 06:40 PM
They use a server-side language like PHP (http://www.php.net). Are you familiar with any kind of server side language?

BusterLee
06-19-2003, 06:44 PM
I am afraid not. I currently use shtml extensions as I do have a lot of SSI commands.

Is there any other language I could use? Probably a bit advanced for me but it is a useful trick!