SitePoint Sponsor |
|
User Tag List
Results 1 to 7 of 7
Thread: making a "submit" form
-
Oct 14, 2003, 16:26 #1
making a "submit" form
i want to put a form on my website- ya know, like name, email, comments, then you hit submit and it emails it to me or something. ive looked in quite a few places, and i found lotsa cool stuff to do with the form, but no codes for the form itself- very frusterating. im not really sure if this is html or javascript though, so ima post it in both places. HELP!!!
-
Oct 14, 2003, 16:29 #2
- Join Date
- Jul 2003
- Location
- Sacramento, CA
- Posts
- 330
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
It cant be done with javascript it must be done with a serverside language like perl, php or asp!
-
Oct 14, 2003, 16:31 #3
could i do it with html by any chance???
-
Oct 14, 2003, 16:32 #4
actually that doesnt make much sense so nevermind- how do i make it with severside language? ive never used that before
-
Oct 14, 2003, 16:55 #5
- Join Date
- Jul 2003
- Location
- Sacramento, CA
- Posts
- 330
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Not sure you could look here for a script or some help http://www.hotscripts.com !
-
Oct 15, 2003, 07:46 #6
- Join Date
- Dec 2002
- Location
- Alabama, USA
- Posts
- 2,560
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Visit the PHP Forum here at SPF
Cross-Browser.com, Home of the X Library
-
Oct 20, 2003, 00:14 #7
- Join Date
- Sep 2003
- Location
- Norman, OK
- Posts
- 51
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
PHP Code:<form action="cgi-bin/someperl.cgi" method="post">
<b>Mailing List sign up:</b>
<br>Name:<input type="text" name="name" size="18" maxlength="50" value="">
<br>Email:<input type="text" name="address" size="18" maxlength="50" value="">
<br><b>Subscribe</b>
<input type="radio" name="action" checked value="subscribe">
<b>Unsubscribe</b>
<input type="radio" name="action" value="unsubscribe">
<br>Comments:<textarea cols="40" rows="5" name="comment"></textarea>
<input type="submit" value="GO!">
</form>
S.Mellgren
one-million billionth of a millisecond
Bookmarks