PDA

View Full Version : A little help with a website


slim
12-18-2002, 05:15 AM
Hi,

A friend of mine is building a website and he was wondering how to setup a user input box on the webpage to allow users to submit their email address.

Does anyone have any suggestions?

Thanks

Slim

david eaton
12-18-2002, 04:23 PM
Slim. There are aeveral methods of doing this, depending on whether you have CGI access, or preset CGI scripts.

If there is no CGI script available, using a form on the webpage for the visitor to input information, and using the "mailto" method for the form will work.

like this {FORM METHOD="MAILTO: user@isp" METHOD="POST" ENCTYPE="TEXT/PLAIN"}

Another way is to provide a "mailto" link that will open the visitors e-mail program with the destination and subject already completed.That looks like this:-{a href="mailto: address@ISP.?subject=enquiry"}enquiries@address@ISP}{/a}
(Rreplace the {} with the correct &lt &gt characters)
If the Hosting company allows CGI access, there are several sites that provide free CGI scripts, or the hosting company may well provide such a basic script themselves. Check the hosting companies website for these options.

Hope that helps

David

slim
12-19-2002, 06:39 AM
David,

Thanks alot for that info, it works like a dream.

Slim