When I try a search the search.asp page opens up instead, what am I doing wrong?
Announcement
Collapse
No announcement yet.
search opens the .asp page
Collapse
X
-
Can you describe what you mean by the page "opens up instead"? Do you mean you see the ASP source code of "search.asp"?
First of all, ASP (as well as PHP) are server-side scripts which must be executed by a web server (with either ASP or PHP enabled and configured). If you are just opening the search page on your computer (and assuming it does not have a web server running) then it will not be executed and you will only see the source code.
See this FAQ for further details:
Q. I've indexed the site, uploaded the files, but I only see the search script code when I open the search page in my browser (or get a prompt asking if i want to download it)
If you are not very experienced with these platforms, then you should look at this too:
Q. What is PHP, ASP, CGI or JavaScript? How do I determine which one I should use?
Comment