Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
show submitted information on redirect
Old 02-12-2009, 10:45 AM show submitted information on redirect
Novice Talker

Posts: 5
Trades: 0
Trying to use godaddy webformmailer.php all is working okay with the exception of trying to have the submitted information posted to the redirect page. Should I add to the webformailer or enter a code on my redirected page?? Here is the code I tried using on my redirect page

<?php

$thename=$_POST['thename'];
$thecompany=$_POST['thecompany'];
$theaddress=$_POST['theaddress'];
$theareacode=$_POST['theareacode'];
$thephone=$_POST['thephone'];
$theemail=$_POST['theemail'];
$thecomments=$_POST['thecomments'];

$thetime=date("D. M. d, Y - h:i:s A");

$from=$theemail;
$to="************"; omitted just for post
$subject="Computer Request Form";
$body="Somebody has requested information\n Date and time from the server ".$thetime;



?>


This is what we got from the form:<br><br>

<?php
echo "
name: $thename<br>
company: $thecompany<br>
address: $theaddress<br>
phone: $thephone<br>
email: $theemail<br>
Comments: $thecomments<br><br>

and this is the time from the server: $thetime<br><br>
this is the body of email to be sent: $body<br><br>
this is the from and headers: $from<br><br>
";

if (mail($to,$subject,$body,$from)) echo "<br>Mail sent"; else echo "<br>Mail failed to send";

?>
Spalmere is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-12-2009, 01:32 PM Re: show submitted information on redirect
Novice Talker

Posts: 5
Trades: 0
I seem to have figured out the issue on my own I was missing some command lines that needed to be put in the contact.php..

Also turned off webserver auto webformmailer.php
Spalmere is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to show submitted information on redirect
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09696 seconds with 12 queries