Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > mySQL & PHP

Notices

mySQL & PHP Discussions, information and help with mySQL and PHP.

Reply
 
LinkBack Thread Tools
  #1  
Old 05-02-2008, 10:53 PM
Sergeant
 
Join Date: Jun 2007
Posts: 36
Default contact & thank you forms

Hi:

1.- I'm having same problems that other people post.
I followed several times tutorial # 1 but my results aren't good.
I add:
<?PHP
$mailto = "c_arano******.com.ar";
$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 contact form :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
Since I didn't change the RED LINE, I believe my error is there. In my testings I am getting mails saying: "Values submitted from web site contact form" instead the listing of information written by me at the contact form.

2.- The other problem I have is that my reset button at the contact form is not working as expected.

I will appreciate your help.
carlosarano
c_arano******.com.ar
be38797f
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 05-02-2008, 11:33 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 8,828
Default Re: contact & thank you forms

No, that 's aonly the start of the mail, if you are not recieving the values you probably have not set the form encoding type to be "multipart/form data"

The reset button is probably outside the form area.

Please provide the form URL so we can have a look
__________________
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 05-03-2008, 12:33 PM
Sergeant
 
Join Date: Jun 2007
Posts: 36
Default Re: contact & thank you forms

Dear Navaldesign:
My URL is
www.carlos-arano.com.ar/orden_cr.php
Thank you,
Carlos
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 05-03-2008, 02:59 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 8,828
Default Re: contact & thank you forms

As i has supposed,the submit button is outside the form area. At times it seems that it is in the form, but it isn't . Delete it and place it there again.

Also, you have associated 4 or 5 onclick showobject() events to your reset button. Not sure, but this could make your form not work. I never tried it so i can't be sure.
__________________
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 05-03-2008, 09:29 PM
Sergeant
 
Join Date: Jun 2007
Posts: 36
Default Re: contact & thank you forms

Thank you a lot, navaldesign. Now it is working pretty well. It is not too bad for a 75 years old pupil to learn from a teacher as you !!!!.
But I have one more question:
In my web I need to have a second CONTACT page with a second THANK YOU page. What I have to do? Til now, I tryed unsuccessfuly.
Carlos
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 05-03-2008, 09:38 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 8,828
Default Re: contact & thank you forms

Just create another form, as you like it. if the thnak you page you have already built is ok also for the second form, you can keep the same "action" (thankyou page).
__________________
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 05-04-2008, 05:14 PM
Sergeant
 
Join Date: Jun 2007
Posts: 36
Default Re: contact & thank you forms

Is it not possible to have a new "action" page ? (for instance "action_2")
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 05-04-2008, 05:42 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 8,828
Default Re: contact & thank you forms

Yes, of course
__________________
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 05-04-2008, 07:22 PM
Sergeant
 
Join Date: Jun 2007
Posts: 36
Default Re: contact & thank you forms

Thank you again
Carlos
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old 05-05-2008, 01:50 PM
Sergeant
 
Join Date: Jun 2007
Posts: 36
Default Re: contact & thank you forms

Escuse me. I'm back again.
In doing my second "contact" form (that I called "contact_2") and the corresponding "action_2" (thank you sheet), I couldn'n make them to work.
What I'm doing wrong?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old 05-05-2008, 02:05 PM
Sergeant
 
Join Date: Jun 2007
Posts: 36
Default Re: contact & thank you forms

By the way, my web is:
http://www.carlos-arano.com.ar/contact_2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old 05-05-2008, 04:35 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 8,828
Default Re: contact & thank you forms

I can see that the action is NOT "action_2 " . It is "action" . However, it has worked for me. The Submit button is half covered by your text and so it will only work if you click on the right side of it.
__________________
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
  #13  
Old 05-05-2008, 08:13 PM
Sergeant
 
Join Date: Jun 2007
Posts: 36
Default Re: contact & thank you forms

Thank you again. I believe I made some mistakes and I'm correcting now.
Your help was wonderful.
Regards,
Carlos
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #14  
Old 05-13-2008, 02:07 PM
Sergeant
 
Join Date: Apr 2008
Posts: 23
Default Re: contact & thank you forms

Hi there, I'm learning to add a contact & thank you forms.
I watched tutorial #1 and follow it step by step. However, I get lost at the last step: copy code and add two lines of code. I really don't know which code I should copy from (from where, which line? as my code looks different to the code in turoial sample). could anyone help me? Thanks a lot!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #15  
Old 05-13-2008, 06:04 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 8,828
Default Re: contact & thank you forms

Please follow the tutorial ONLY for the form creation part. As for the "action" and setting the necessary processing script, please follow the text instructions that are UNDER the multimedia tutorial.

This is because version 10 of BlueVoda has changed, the tutorial is relevant to the oldd version.

In the new version you don't need to copy / paste anything, BV will do everything automatically.
__________________
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
  #16  
Old 05-14-2008, 05:34 AM
Sergeant
 
Join Date: Apr 2008
Posts: 23
Default Re: contact & thank you forms

Hi Navaldesign, thanks for your help. One more question: what format should I saved this contac_form page ? Should be contact.html , contact.bvp or contact.php ?
I set the page extension to be PHP when I published it. However, when I call this page or link this page do I have to use contact.php instead of contact.html? Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #17  
Old 05-14-2008, 06:09 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 8,828
Default Re: contact & thank you forms

The form should be saved simply as "contact" on your computer, as all other BlueVoda pages. But, before you publish, go in your Page Propeties, and set the extension (when published) to be php.
When you publish it will be published as "contact.php".

Of course, in your menus (or other links) you should be calling it as "contact.php".
__________________
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
  #18  
Old 05-14-2008, 06:18 AM
Sergeant
 
Join Date: Apr 2008
Posts: 23
Default Re: contact & thank you forms

Clear now, thank you so much!

Quote:
Originally Posted by navaldesign View Post
The form should be saved simply as "contact" on your computer, as all other BlueVoda pages. But, before you publish, go in your Page Propeties, and set the extension (when published) to be php.
When you publish it will be published as "contact.php".

Of course, in your menus (or other links) you should be calling it as "contact.php".
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #19  
Old 05-15-2008, 10:04 PM
Sergeant
 
Join Date: Jun 2007
Posts: 36
Default Re: contact & thank you forms

Hello:
Well. I'm back again.!!!!
Everything seems to be working more or less good in my long site:
www.carlos-arano.com.ar/hidroponia.html
But I still have one problem.
My pages for ordering (contact.php bonded to action.php & contact_2.php bonded to action_2.php) seems to be working alone, sending to me many messages from myself. The text of these messages are always same:
"Values submitted from web site form:"
It Please advice me.
Thanks you,
Carlos
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!