PDA

View Full Version : My form isnt working!



alzmo2k6
07-09-2006, 07:15 PM
hey all , i got my form all published and everything and i have read all of your totorials but the problem is when i try and fill the form out, the data i have filled out is not getting sent to me. (killer@thetafsquad.com)


my website is

www.thetafsquad.com/index.html (http://www.thetafsquad.com/index.html)

the form address is

www.thetafsquad.com/fear_joinus.html (http://www.thetafsquad.com/fear_joinus.html)


thanks

Ali

VodaHost
07-09-2006, 07:32 PM
you created it wrong, please use the PHP code provide in the tutorial, please click the below...

http://www.vodahost.com/vodatalk/forms/9349-bluevoda-forms-tutorial-part-1-a.html

VodaHost
07-09-2006, 07:32 PM
moving to forms section.

navaldesign
07-09-2006, 07:54 PM
Also, correct the second email field name: you can't have two fields named email. Correct the S1 name for the textarea. Group the radio buttons (otherwise they will be both clickable). And of course, use the php script method to process your form info and send it in your inbox.

SatishM
03-22-2007, 01:56 PM
Hello,
I have confirgured my contact page as suggested in tutorial but its not working. The error is " Parse error: parse error in C:\Inetpub\vhosts\daytradingshares.com\httpdocs\ac tion.php on line 11 "
Please can you assist me?
Name of website - www.daytradingshares.com (http://www.daytradingshares.com)
Thanks
regards
Satish

navaldesign
03-22-2007, 05:19 PM
You must have made some mistake in the php script code. Unfortunately we can't help you, unless you post the code here. However, why is this error message reffering to your hard drive c ? are you trying the form script on a local machine php/apache environment ?

SatishM
03-23-2007, 05:22 AM
Hi
Code i am using is the same code what is posted in tutorial.Please find below.
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "support@daytradingshares.com";
$mailsubj = "Response from your Daytradingshares.com";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
if ($key!="submit")
{
$mailbody .= "$key : $val\n";
}
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>

And the path its pointing is not my local PC but its on the server where i hosted this website.
Please advice.
Thanks
regards
Satish

navaldesign
03-23-2007, 06:53 AM
Your script is correct. It could be something else, but i have not been able to view your website in order to see this error, because it gives me a 404 page not found error. I hope it is a temporary problem, i will try later.

SatishM
03-23-2007, 08:26 AM
The website is up and running fine. please try .
Thanks
regards
Satish

navaldesign
03-23-2007, 08:52 AM
I tried it and it is working now. I did receive the error line, but it is difficult to say what can be wrong, because the page php (and html) are not visible. Please copy the entire code of your page and post it here.

Anyway, seems like the website is running on a local machine rather than a hosting server.....Maybe a redirect from the website to your local machine ?(....)

SatishM
03-23-2007, 12:44 PM
Hello,
Please fnd code of my contact page below.
<FORM name="contact Form" method="POST" action="action.php" enctype="multipart/form-data">
<INPUT type="hidden" name="" value="">
<INPUT type="hidden" name="" value="">
<INPUT type="hidden" name="" value="">
<DIV style="position:absolute;left:20px;top:22px;width:253px;h eight:16px;z-index:14" align="left">
<FONT style="FONT-SIZE: 13px" face="Arial" color="#000000">Your Name:</FONT><FONT style="FONT-SIZE: 13px" face="Arial" color="#ff0000"></FONT>
</DIV>
<DIV style="position:absolute;left:263px;top:10px;width:338px; height:15px;z-index:15" align="left">
<FONT face="Arial" color="#000000" size="2"></FONT>
</DIV>
<INPUT type="text" style="position:absolute;left:269px;top:17px;width:144px; z-index:16" size="18" name="q[1]" value="">
<DIV style="position:absolute;left:20px;top:50px;width:253px;h eight:16px;z-index:17" align="left">
<FONT style="font-size:13px" color="#000000" face="Arial">Your E-mail </FONT>
</DIV>
<INPUT type="text" style="position:absolute;left:269px;top:45px;width:146px; z-index:18" size="20" name="email" value="">
<DIV style="position:absolute;left:20px;top:78px;width:253px;h eight:16px;z-index:19" align="left">
<FONT style="font-size:13px" color="#000000" face="Arial">Your Country:</FONT>
</DIV>
<DIV style="position:absolute;left:263px;top:66px;width:338px; height:15px;z-index:20" align="left">
<FONT face="Arial" color="#000000" size="2"></FONT>
</DIV>
<INPUT type="text" style="position:absolute;left:269px;top:73px;width:146px; z-index:21" size="20" name="q[3]" value="">
<DIV style="position:absolute;left:20px;top:108px;width:253px; height:16px;z-index:22" align="left">
<FONT style="font-size:13px" color="#000000" face="Arial">Your Favourite Trading Site:</FONT>
</DIV>
<DIV style="position:absolute;left:263px;top:94px;width:338px; height:15px;z-index:23" align="left">
<FONT face="Arial" color="#000000" size="2"></FONT>
</DIV>
<INPUT type="text" style="position:absolute;left:269px;top:101px;width:146px ;z-index:24" size="20" name="q[4]" value="">
<DIV style="position:absolute;left:10px;top:142px;width:591px; height:15px;z-index:25" align="left">
<FONT face="Arial" color="#000000" size="2"></FONT>
</DIV>
<TEXTAREA name="q[2]" style="position:absolute;left:271px;top:141px;width:263px ;height:102px;z-index:26" rows=6 cols=30></TEXTAREA>
<INPUT type="submit" name="" value="Submit" style="position:absolute;left:343px;top:261px;width:75px; height:24px;z-index:27">
</FORM>

please find code of my submit confirmation page below.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>action</TITLE>
<META name="GENERATOR" content="Created by BlueVoda">
</HEAD>
<BODY bgcolor="#DFDFDF" text="#000000" <?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "support@daytradingshares.com";
$mailsubj = "Response from your Daytradingshares.com";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
if ($key!="submit")
{
$mailbody .= "$key : $val\n";
}
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
>
<DIV style="position:absolute;left:0px;top:0px;width:715px;hei ght:110px;z-index:0" align="left">
<IMG src="bv01076.gif" align="top" alt="" border="0" width="715" height="110">
</DIV>
<DIV style="position:absolute;left:8px;top:3px;width:143px;hei ght:75px;z-index:1" align="left">
<IMG src="bv01077.gif" align="top" alt="" border="0" width="143" height="75">
</DIV>
<DIV style="position:absolute;left:14px;top:12px;width:59px;he ight:59px;z-index:2" align="left">
<IMG src="bv01078.gif" align="top" alt="" border="0" width="59" height="59">
</DIV>
<DIV style="position:absolute;left:32px;top:25px;width:150px;h eight:33px;z-index:3" align="left">
<FONT style="font-size:29px" color="#000000" face="Arial">D</FONT>
</DIV>
<DIV style="position:absolute;left:54px;top:11px;width:59px;he ight:59px;z-index:4" align="left">
<IMG src="bv01079.gif" align="top" alt="" border="0" width="59" height="59">
</DIV>
<DIV style="position:absolute;left:90px;top:12px;width:59px;he ight:59px;z-index:5" align="left">
<IMG src="bv01080.gif" align="top" alt="" border="0" width="59" height="59">
</DIV>
<DIV style="position:absolute;left:73px;top:26px;width:150px;h eight:33px;z-index:6" align="left">
<FONT style="font-size:29px" color="#000000" face="Arial">T</FONT>
</DIV>
<DIV style="position:absolute;left:111px;top:26px;width:150px; height:33px;z-index:7" align="left">
<FONT style="font-size:29px" color="#000000" face="Arial">S</FONT>
</DIV>
<DIV style="position:absolute;left:20px;top:116px;width:150px; height:16px;z-index:8" align="left">
&nbsp;
</DIV>
<DIV style="position:absolute;left:5px;top:111px;width:250px;h eight:21px;z-index:9" align="left">
<FONT style="font-size:19px" color="#000000" face="Times New Roman">&nbsp;&nbsp; <A href="http://daytradingshares.com" target="_self">Go to back Trading Topics</A> </FONT>
</DIV>
<DIV style="position:absolute;left:230px;top:0px;width:390px;h eight:57px;z-index:10" align="left">
<FONT style="font-size:48px" color="#000000" face="Monotype Corsiva"><U>Day Trading Shares</U></FONT>
</DIV>
<DIV style="position:absolute;left:291px;top:66px;width:207px; height:33px;z-index:11" align="left">
<FONT style="font-size:27px" color="#000000" face="Monotype Corsiva">Your Desire To Earn</FONT>
</DIV>
<DIV style="position:absolute;left:74px;top:157px;width:544px; height:159px;z-index:12" align="left">
<FONT style="font-size:21px" color="#0000FF" face="Times New Roman"><B>Thank you for submitting your views/querries, if required we will get back to you within 24 hours.<BR>
<BR>
Thanks<BR>
Support group<BR>
DayTradingShares.com<BR>
</B></FONT>
</DIV>
</BODY>
</HTML>

navaldesign
03-23-2007, 01:08 PM
Your script is correct, so i can only suppose that you are having some problem with your php. I still beleive that the script is running on local machine... And you are mixing BV created code with some other html editor (using BV on a non VH site...)