Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CGI and Return to home site

Status
Not open for further replies.

samesale

Programmer
Sep 15, 2003
133
US
I am trying to return to the homepage. I wrote the following statement in CGI as a part of a CGI program. However, since the program is in CGI, it goes to a file in CGI, but my file is in the of the host. Please help. Thanks.

print "<a href=\"carsearch.html\">Go Back to the Search Page</a><br>";
 
Make the file path absolute

Code:
"<a href=\"/carsearch.html\">

you have it relative (no preceeding slash)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top