Make a contact us box in HTML

Status
Not open for further replies.
you need HTML and CGI reference material!

Code:
 FORM name="ccform" method="POST" [B]action[/B]="server-script-name?p1=x,p2=y..." ...
whatever is in the action parm (eg server-script-name) executes on your web server machine.

mailto:ididmyc600@mywebsite.com?subject=...
this would try to popup an email client on the web server (and fail) which is not
what you want :(

the CGI server-script-name?p1=x,p2=y,... would be seen on the web server,
and need to interface with an SMTP interface script, process your p1,p2,... parms, and send the email directly to the smtpd also running on the web server. Google for a SMTP script in your preferred scripting language
 
He he told ya I wasnt a webmaster, but it did work as a local file on my laptop, but stupidly I didnt upload it to my site to try it, so post is edited.
 
Status
Not open for further replies.
Back