PHP Form Help
Posted: Sat Oct 16, 2010 1:04 pm
Alright, first off, I hope this is being posted to the correct forum.
Looking for some help on an issue with a php-based form, which is located on the left of every page here:
http://www.toromovers.com
It's made up of two parts, 1. the form (which is common to all pages) and 2. the form handler (contact_process.php)
Initially, when the form is used, it returns an error from the contact_process.php file "Error - not sent".
When I call the contact_process.php file from my browser, THEN fill out the form, it appears to submit the information which then proceeds to call my "submission recevied" html page.
Having looked around, I think I've narrowed down the problem to two variables:
$valid_ref1 and $valid_ref2 which are simply making reference to another html page but I don't see how this might work. The documentation states:
if you intend to include the contact.html file within a php file then ensure you
enter the correct filename and extension (.php) for the $valid_refs.
ie. $valid_ref1="http://Your--domain/contact.php";
The contact form is only within an html form which is then validated and passed to contact_process.php. There are no other html pages being called.
Help would be much aprecaited and thank you
Looking for some help on an issue with a php-based form, which is located on the left of every page here:
http://www.toromovers.com
It's made up of two parts, 1. the form (which is common to all pages) and 2. the form handler (contact_process.php)
Initially, when the form is used, it returns an error from the contact_process.php file "Error - not sent".
When I call the contact_process.php file from my browser, THEN fill out the form, it appears to submit the information which then proceeds to call my "submission recevied" html page.
Having looked around, I think I've narrowed down the problem to two variables:
$valid_ref1 and $valid_ref2 which are simply making reference to another html page but I don't see how this might work. The documentation states:
if you intend to include the contact.html file within a php file then ensure you
enter the correct filename and extension (.php) for the $valid_refs.
ie. $valid_ref1="http://Your--domain/contact.php";
The contact form is only within an html form which is then validated and passed to contact_process.php. There are no other html pages being called.
Help would be much aprecaited and thank you