Web Hosting Vodahost    

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

Notices

BlueVoda - General Issues All BlueVoda support issues that are not covered in the below forums.

Closed Thread
 
Thread Tools
  #1  
Old 09-03-2005, 09:38 PM
Patti Johnson's Avatar
Sergeant Major
 
Join Date: Jul 2005
Posts: 95
Question Submitting Forms

Hello you wonderful forum helpers... Before anyone sends me (back) to the previously posted threads regarding the scripts for form submissions, let me say that I have read and re-read all of them. I have a feedback page on my site and have set the page properties file extension to php and on the object properties (for the form itself) set to action: feedback.php and method: post.

On the page html, I have placed on the inside body tag the following:
<?PHP

$email = $HTTP_POST_VARS[email];

$mailto = "feedback@lifeatfifty.com";

$mailsubj = "Feedback form";

$mailhead = "From: $email\n";

reset ($HTTP_POST_VARS);

$mailbody = "Values submitted from web site form:\n";

while (list ($key, $val) = each ($HTTP_POST_VARS))

{

$mailbody .= "$key : $val\n";

}

mail($mailto, $mailsubj, $mailbody, $mailhead);

?>

After saving and publishing the page, uploading the notepad file called feedback.php (as designated in the thread), I still don't get the desired results. I fill in some text on the feedback form and hit the submit button. At that time I get an Internet Explorer window stating the following:

This form is being submitted using e-mail. Submitting this form will reveal your e-mail address to the recipient, and will send the form data without encrypting it for privacy. You may continue or cancel this submission.

When I hit continue, it takes me to my log in page for my email. When I log in, I simply have a "compose" window with my website's email address in the "to" field. Trying it from my laptop, I get the same IE window, but when I hit continue, it does nothing. Can someone help me please? Appreciative as always.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #2  
Old 09-03-2005, 10:19 PM
Pablo's Avatar
Moderator
 
Join Date: May 2005
Posts: 507
Default

If you read the previous threads about this subjkect carefully you'll notice that you have to enter 'feedback.php' in the action field instead of mailto:you@youremail.com

Here's the complete instruction once again:

Change the form properties (in BlueVoda) to:
Action: feedback.php
Method: POST

EncodingType:
(remove the text/plain, so the field becomes empty)

Now create a new file using Notepad and call it: feedback.php
Enter the following code into the file:
<HTML>
<HEAD>
<TITLE>Thank you for your feedback</TITLE>
</HEAD>
<BODY>
<H2>Thank you for your feedback!</H2>
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "yourname@yourdomain.com";
$mailsubj = "Feedback form";
$mailhead = "From: $email\n";

reset ($HTTP_POST_VARS);

$mailbody = "Values submitted from web site form:\n";

while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
</BODY>
</HEAD>



Make sure your form contains an editbox with the name 'email'
Finally upload feedback.php to your web server.

Instead of create the feedback page using notepad you can also use BlueVoda:
http://www.vodahost.com/vodatalk/bluevoda-general-issues/809-help-forms.html
and scroll all the way down to see my last post.
__________________
Forum Moderator
BlueVoda Specialist
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old 09-05-2005, 04:44 AM
Patti Johnson's Avatar
Sergeant Major
 
Join Date: Jul 2005
Posts: 95
Default

Thanks for your reply... perhaps you didn't see in the first paragraph of my original thread that I did change the form action to feedback.php. I was able to paste the code into notepad and uploaded. Any idea where I go from here?

Quote:
Originally Posted by Pablo
If you read the previous threads about this subjkect carefully you'll notice that you have to enter 'feedback.php' in the action field instead of mailto:you@youremail.com

Here's the complete instruction once again:

Change the form properties (in BlueVoda) to:
Action: feedback.php
Method: POST

EncodingType:
(remove the text/plain, so the field becomes empty)

Now create a new file using Notepad and call it: feedback.php
Enter the following code into the file:
<HTML>
<HEAD>
<TITLE>Thank you for your feedback</TITLE>
</HEAD>
<BODY>
<H2>Thank you for your feedback!</H2>
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "yourname@yourdomain.com";
$mailsubj = "Feedback form";
$mailhead = "From: $email\n";

reset ($HTTP_POST_VARS);

$mailbody = "Values submitted from web site form:\n";

while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
</BODY>
</HEAD>



Make sure your form contains an editbox with the name 'email'
Finally upload feedback.php to your web server.

Instead of create the feedback page using notepad you can also use BlueVoda:
http://www.vodahost.com/vodatalk/showthread.php?t=809
and scroll all the way down to see my last post.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old 09-05-2005, 09:28 AM
paulb's Avatar
Master Sergeant
 
Join Date: Aug 2005
Location: UK
Posts: 68
Default

Hi there,

What I don't understand is why are you adding "On the page html, I have placed on the inside body tag the following"

I didn't do this, I just uploaded the .php file by ftp and it worked fine. I can't see that you need to do both. The code behind the form picks up the file I think.

Also, could it be an email problem. It is getting to the stage whereby it's giving the message about emailing then it seems that your email program is falling down. Do you have a firewall of some sort or some email protection program running.

Have a look at my contact page and right click view source to see the code.
www.superfastincome.com/contact.html then compare to yours etc.

Paul
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old 09-06-2005, 07:31 PM
Patti Johnson's Avatar
Sergeant Major
 
Join Date: Jul 2005
Posts: 95
Default

Hi Paul, thanks for responding. I added the inside body tag content because I thought that I needed it. I have been trying to follow the forum threads relative to forms, and I guess I read where this is necessary. So I'll go back and delete that inside body tag content and try again.

Patti

Quote:
Originally Posted by paulb
Hi there,

What I don't understand is why are you adding "On the page html, I have placed on the inside body tag the following"

I didn't do this, I just uploaded the .php file by ftp and it worked fine. I can't see that you need to do both. The code behind the form picks up the file I think.

Also, could it be an email problem. It is getting to the stage whereby it's giving the message about emailing then it seems that your email program is falling down. Do you have a firewall of some sort or some email protection program running.

Have a look at my contact page and right click view source to see the code.
www.superfastincome.com/contact.html then compare to yours etc.

Paul
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread


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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
another forms question rdensford Forms 39 04-11-2006 04:53 PM
HELP!!! Email forms lionofj General Support Issues 0 10-01-2005 10:39 PM
Website Forms udoitnow BlueVoda - General Issues 7 08-16-2005 12:25 AM
Putting forms on my website & other stuff udoitnow Adding Elements To Your Website 2 08-11-2005 04:30 PM
Registration and Login forms rabbit General Support Issues 1 07-30-2005 09:50 AM


All times are GMT +1. The time now is 04:42 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - 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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201