|
|
|
Insure yourself from spam! The Anti Spam Insurance Company - ProtectWebForm!
Forum - different php problem
chelseaphil |
2007-01-22 10:09:17 |
|
I have inserted the html code into my enquiry form and that looks
fine. I inserted the php code in my sendresultsold.php file in the
correct place but.. I get this after completing the form and clicking
submit: Parse error: syntax error, unexpected $end in
/home/chelseap/public_html/sendresultsold.php on line 46
All that is on line 46 is ?>
this is the start of the <?php section
<?php
//--------------------------Set these
paramaters--------------------------
////////////////////////////////////////////////////////////
// Code provided by http://www.protectwebform.com
if($_GLOBALS['REQUEST_METHOD'] == 'POST' || count($_POST) > 0) {
$pwf_message = "The image code you have provided does not match the
actual one. Hit the 'back' button of your browser and input the
correct code please.";
// Subject of email sent to you.
$subject = 'Property details';
I should say that I have tried inserting the new code immediatly after
the <?php but still get same error message. Cheers Phil |
Post Reply:
You must be logged in to reply.
|
Post message
|
Registered users: 88084
Forms protected: 48551
Further Reading & Anti Spam Resources:
Directory
|
|