PDA

View Full Version : FTmail CGI form



muka
12-08-2007, 04:25 PM
I'm trying to make a simple form to work on my site hosted at BH. First I tried Matt's script-did not work, then I read posts here and downloaded FTmail script. I updated the code like it described in Readme file and when tested that is what I got:

Unable to open document (./http://www.marinasdesign.com/cgi-bin/TFmail.cgi) at cpsrvd-ssl.pl line 1475
main::dodoc_cpaneld() called at cpsrvd-ssl.pl line 688
main::dodoc() called at cpsrvd-ssl.pl line 590

I'm sure I'm puttiing files in wrong derectories or something...
my addon domain: marinasdesign.com/form.html
I put config files in sub derectory: marinasdesign/home/cfg and marinasdesign/home/lib

Please help me to figure this form out! Thanks

Basil
12-08-2007, 04:43 PM
Dunno about the script, but "./http://www.marinasdesign.com/cgi-bin/TFmail.cgi" is not a valid URL, it looks like it wants a relative link. The "./" at the beginning means "relative to the directory this file is in."

Something like "./cgi-bin/TFmail.cgi", depending on where the scripts are.

muka
12-08-2007, 05:11 PM
Thank you.
I guess that what is I dono how to do.
marinasdesign.com is an addon domain with its own cgi-bin folder derectory in which I posted the script file.
I just copied script to my main domain cgi-bin folder, it is still not working...
However now when I run Preview for my marinasdesign.com/form.html in BH html editor, it displays the script, and not an error.
But my form is still not working... :(