View Full Version : A little help with a website
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 < > 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
David,
Thanks alot for that info, it works like a dream.
Slim
vBulletin v3.6.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.