|
|
emailuser
regular
Reg'd: Wed
Posts: 190
|
Re: Contact Form Not Working
Sat Jan 20 2007 11:49 PM
|
|
|
If you have php then thats good - but you also need some sort of method to prevent the spammer bots from using - and usually thats in the form of a image code .
You also need to prevent the spammers from doing something called email injection .
Unfortunatly i dont have the available time needed for detailed replys at the moment and while i'm happy to point you in the right direction i cant do the technical support thingy at the moment .
takeaway_checkout.php
clicking on submit would take you to takeaway_checkout_do.php
<?php $uzi="WebUser"; ?>
<table border="0" cellspacing="1" cellpadding="0" align="center">
<form action="takeaway_checkout_do.php" method="post">
<tr> <td class="ta_contact_gen_1"><b>5 DIGIT ANTI SPAM BOT CODE</b></td> <td class="ta_contact_gen_2"><img src="images/arrow_right.gif" width="11" height="9" border="0"></td> <td><input type="text" name="abby" size="46" class="ta_contact_gen_3"></td> </tr>
<tr> <td></td> <td></td> <td><input type="submit" name="Submit" value="SUBMIT" class="ta_form_button"></td> </tr>
<input type="hidden" name="user" value="<?php print $uzi; ?>">
</form>
</table>
On the next page you would have summit like the following .
<?php
$demo=$_POST['abby'];
$blah=$_POST['user'];
print "demo = $demo <br>";
print "blah = $blah <br>";
?>
Forget about sending stuff via email for the moment - learn how to use forms and learn how to pass and grab varibles .
Most people want to run before learning how to walk and are only interested in instant results - are you one of those people ? .
|
|
|
|
|