Sponsor Advertisements help keep UGN Security Online.
Sponsor Advertisements help keep UGN Security Online.
Want to earn prizes for clicking online advertisements? Join Rewards1.com.
|
|
|
#18984 - 06/08/02 02:22 AM
PHP form processing troubles.
|
UGN Supporter
Registered: 03/05/02
Posts: 562
|
I am trying to do a form (mostly for prctice) that will e-mail a freind the link to a site. HTML and PHP I have is listed below. I am a bit lost as to what I am doing wrong. HTML <html>
<head>
<title>Form</title>
</head>
<body bgcolor="#FFFFFF">
<FORM ACTION="test.php" METHOD="POST">
Your Freinds name
<INPUT TYPE="text" NAME="name" SIZE="20" MAXLENGTH="30">
Your Name
<INPUT TYPE="text" NAME="freind" SIZE="20" MAXLENGTH="30">
Their e-mail address
Your message about this site
<INPUT TYPE="text" NAME="message" SIZE="50" MAXLENGTH="90">
<INPUT TYPE="submit" VALUE="Send it!">
</FORM>
</body>
</html>
test.php <?php
mail ("$email", "$name... $freind wants you to check this site", "$message !n http://rrfn.promodtecnologies.com !");
?>
|
|
Top
|
|
|
|
Sponsor Advertisements help keep UGN Security Online.
Sponsor Advertisements help keep UGN Security Online.
|
|
|
Registered: 03/16/13
Posts: 5
|
|
2198 Members
46 Forums
24906 Topics
60076 Posts
Max Online: 1567 @ 04/25/10 10:20 AM
|
|
|
0 registered (),
4
Guests and
4
Spiders online. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|