Forum Moderators: coopster & phranque

Message Too Old, No Replies

cgi Script

What do I type into "value" field on cgi

         

Geoffrey james

6:41 pm on Apr 12, 2006 (gmt 0)

10+ Year Member



Can anyone help?
I want to set up a form consisting of:
a text area for costomers to put in their.
Name
Company name
Email address
A comments box.

I can get all those on my site but dont know what to type into the value part of the code...it should be http: then what?
Is it my website name?

or is it something else...
its doing my head in.
My server is Streamline.net and they support this for my site so that wont be a problem, its just that part above im stuck on

HELP PLEASE

Geoff

[edited by: jatar_k at 6:58 pm (utc) on April 12, 2006]
[edit reason] no urls thanks [/edit]

perl_diver

5:20 am on Apr 13, 2006 (gmt 0)

10+ Year Member



you have to use a server side script such as perl or php to get form data. You can't just add a value to some html tag and hope to get the data somehow.

Geoffrey james

1:19 pm on Apr 13, 2006 (gmt 0)

10+ Year Member



where do i find the information that I need then, is it from my web host?

Geoff

rocknbil

6:22 pm on Apr 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Google for "perl tutorial" and start reading. You can create your scripts in notepad, test them on your local computer, upload them and test tem on your web server, but you have to get some groundwork in first.

perl_diver

8:39 pm on Apr 13, 2006 (gmt 0)

10+ Year Member



many web hosts offer canned scripts you can use on your site. You can check with them and see if that's the case. If your site has a control panel of some sort you can look in there too and see if there are some CGI resources that are preinstalled and ready to use. There are also script archives such as www.hotscripts.com and there is always google ( and many other search engines ) where you can learn to code scripts if you wanted to go that route.