PDA

View Full Version : CGI - relative linking??



agnieszka
September 8th, 2001, 01:10
hi,

i have a script that sends form information to my email. in the form html i have:

method=post action="http://www.blah.com/ag/cgi-bin/form.cgi

can i simply put in a relative link there? as in, the cgi-bin will be in my root directory, can't i just write:

method=post action="./cgi-bin/form.cgi"

i want to know because of the numerous times i have to get a new host - it's annoying having to change my links everytime i do it.

thanks,
ag.