Sign in:
Username:
Password:  
»Forgot your password?

Home | Forum | How to Protect Your Web Form | How to Protect Your Email | Sign Up

Insure yourself from spam! The Anti Spam Insurance Company - ProtectWebForm!

Forum - different php problem

PostMessage
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
Name: 
Email: 
Url: 




Registered users: 20251

Forms protected: 48458

Further Reading & Anti Spam Resources:

Directory
Search our site for:
 
Web www.protectwebform.com

Get Thunderbird!

    ©Copyright 2006 ProtectWebForm.com. All rights reserved. Read our Privacy Policy

Page copy protected against web site content infringement by Copyscape