Warning: Use of undefined constant g_objPWFAuthenticate - assumed 'g_objPWFAuthenticate' (this will throw an Error in a future version of PHP) in /var/www/protectwebform.com/html/include/common.class.php(15) : eval()'d code on line 1

Warning: Use of undefined constant g_objPWFPage - assumed 'g_objPWFPage' (this will throw an Error in a future version of PHP) in /var/www/protectwebform.com/html/include/common.class.php(15) : eval()'d code on line 1

Warning: Use of undefined constant g_objSqlConnection - assumed 'g_objSqlConnection' (this will throw an Error in a future version of PHP) in /var/www/protectwebform.com/html/include/common.class.php(15) : eval()'d code on line 1

Warning: Use of undefined constant g_objLocale - assumed 'g_objLocale' (this will throw an Error in a future version of PHP) in /var/www/protectwebform.com/html/include/common.class.php(15) : eval()'d code on line 1
different php problem - Protect Web Form .COM

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: 26950

Forms protected: 48522

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