I watched form tutorial part 1 and have a question. The tutorial shows we should add following script between head tag:
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "you@yourtsite.com"; modifiy this to my address
$mailsubj = "Contact Form Submission";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
This seems incomplete php code. But that is all shown on tutorial window. Where we can copy complete php script for inserting between head tag?
Jay
investmentinstock.com
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "you@yourtsite.com"; modifiy this to my address
$mailsubj = "Contact Form Submission";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
This seems incomplete php code. But that is all shown on tutorial window. Where we can copy complete php script for inserting between head tag?
Jay
investmentinstock.com
Comment