Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > BlueVoda Website Builder Forums > Forms

Notices

Forms Discussion and help related to designing and implementing forms in the BlueVoda Website Builder.

Reply
 
LinkBack Thread Tools
  #1  
Old 04-26-2008, 01:24 PM
Private
 
Join Date: Mar 2008
Posts: 4
Default parse error on email form-new user PLEASE HELP~~

Hi,
I've been trying to fix this for hours with no luck. My site si www.tribaltrends.com. I am getting the following error message:
Parse error: syntax error, unexpected '@' in /home/jamyatsj/public_html/action.php on line 8
I am not sure if its comming from the email form page, or the thank you page. This is very complicated for me.

Here is my code:
<?PHP
$mailto = "terrapin48@charter.net"
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$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))
{
if ($key!="submit")
{
$mailbody .= "$key : $val\n";
}
}
mail($mailto, $mailsubj, $mailbody, $mailhead);


Its probably something simple but I think I have been working on this for so long I am overlooking something!!
Thanks for the help!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 04-26-2008, 03:04 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,031
Default Re: parse error on email form-new user PLEASE HELP~~

You have missed the quotes that i added in red color in your own post.

You have also misssed the last part of the code. It should be closing with

?>

Add the missing part, save, publish, and test
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 04-26-2008, 06:12 PM
Watdaflip's Avatar
Brigadier General
 
Join Date: Sep 2005
Location: Cincinnati, Ohio
Posts: 1,640
Default Re: parse error on email form-new user PLEASE HELP~~

Also after the second red quote naval added, place a semicolon
__________________

Register/Login Script
Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 04-26-2008, 07:42 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,031
Default Re: parse error on email form-new user PLEASE HELP~~

Quote:
Originally Posted by Watdaflip View Post
Also after the second red quote naval added, place a semicolon
He he! Thank you!
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 04-26-2008, 10:59 PM
Private
 
Join Date: Mar 2008
Posts: 4
Default Re: parse error on email form-new user PLEASE HELP~~

hi, I did everything you both suggested and I am still getting the same error! I am so confused...here is the new code:
<?PHP
$mailto = "terrapin48@charter.net";
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$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))
{
if ($key!="submit")
{
$mailbody .= "$key : $val\n";
}
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>

I really appreciate the help otherwise I would be soooo LOST!!! I hope you can figure this out for me as I've had no help from support. They keep telling me to read the tutorials. :) THANKS AGAIN!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 04-26-2008, 11:16 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,031
Default Re: parse error on email form-new user PLEASE HELP~~

Now you have missed the quotes before and after your email address, as well as the semicolon. Look at your post, i added them.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 04-26-2008, 11:58 PM
Private
 
Join Date: Mar 2008
Posts: 4
Default Re: parse error on email form-new user PLEASE HELP~~

Hi,
I added what you indicated and still the same error message. Is it possible that I am just doing something wrong when I try and test it? I am going to the contact me page and trying to send something to my own email address? I have been working on this for hours and I just cant seem to get it right. This seems so complicated. When its finally correct will it send a test email to my own email address? I don't understand how it works. Can you explain? Here is the latest code taked from the thank you page that is suppose to disply when someone clicks the submit button on the contact us page:
<?PHP
$mailto = "terrapin48@charter.net";
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$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))
{
if ($key!="submit")
{
$mailbody .= "$key : $val\n";
}
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>

I wish I understood all this better as it would make it a lot easier to make my own corrections. THANKS AGAIN for all of the help!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 04-27-2008, 06:25 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,031
Default Re: parse error on email form-new user PLEASE HELP~~

There is nothing in your script that can cause this problem. On the other hand, this is php code so it is not visible in your page. The only way would be to enter your account. If you wish, use the contact form on my site to mail me.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 04-29-2008, 01:23 AM
Private
 
Join Date: Mar 2008
Posts: 4
Red face Re: parse error on email form-new user PLEASE HELP~~

Hi,
I have been working on this and still nothing. I did email you through your site. I have no idea why this is giving me such problem. According to BV its suppose to be easy and its not. I've received no help from customer support either. I TRULY appreciate you help in trying to resolve this for me. I wont make any changes so as not to interfere in waht you might do to fix this for me...THANKS SO MUCH!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 02:58 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2007 VodaHost.com - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54