Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CGI Scripting 4

Status
Not open for further replies.

JennyW

Technical User
Mar 1, 2001
323
CA
Hiee,
I want to use Forms on my website.
Do I need to know how to do CGI Scripting if I want to make forms?

I'm using Dreamweaver 2.

Please help!
 
No...not really but you do need to use a script. There are a ton of them out there and sometimes your web host will provide one. Who is your ISP? Ya' Gotta Love It!:)X-)
 
Hi Jenny:)

You need a CGI script. It is basically a set of instructions that your browser understands. It tells the browser to send your form to the server and perform a certain function and then send back the result. i.e. you fill out a form to submit you email address to a mailing list. It submits your mailing address and then sends back a confirmation that it is complete. It will then probably send the mailing list company an email that tells them they have a new subscriber. You could also use perl or php which is beyond my ability to explain but works along the same lines as CGI.

Check out this link.


there is a CGI forum also that may help you better than I can Ya' Gotta Love It!:)X-)
 
Well strictly speaking you don't need a script. You can send a form using the client's email program thus:
<form action=&quot;mailto:your emailaddress&quot; method=POST enctype=&quot;text/plain&quot;> Then continue with your inputs, etc
 
there are many ways to do this if ur host is nt then for a custom mailer you can use asp or a cgi

or if it is linux then use cgi

regards Unicorn11
unicorn11@mailcity.com

[red]Luck is not chance, it's toil; fortune's expensive
smile is earned.[red]
 
technically speaking...this is true....you can use a mailto as shown above, however...from my understanding it will show up in your email as a long unparsed string. For a short form this may not be a huge problem but in a long form this would be a little cumbersome. cgi,perl, etc. basically parses the info and makes a little sense out of it then sends it to your email box. The mailto is very rarely used nowadays. Ya' Gotta Love It!:)X-)
 
No, it's quite neat in response actually, it's disadvantage is that it uses the clients email progam instead of doing it all server side, ie the user may have to send email before you get it
 
The mailto link does not really work. So I guess we have to use CGI Scripting or ASP to work with forms. I have the same problem and have been trying to solve it.
 
Certainly formmail is great if you have cgi-bin and remember to set the permissions
However I am puzzled why you think the mailto link doesn't work? It is perfect for me on several forms I have up, e.g.
The good thing about it is that it works with any hosting, even geocities etc that have no cgi facilities available
 
Thank You John
The URL link you gave is very useful not only for forms but also for other web design tips.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top