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 - Bad xml file returned

PostMessage
nant
2007-05-04 09:56:47
instead of:
<?xml version="1.0" encoding="utf-8"?>

the url link returns:

<?xml version="1.0">

notice the missing ? at the end!

This is causing the xml parser in php to fail.

Am I doing something wrong?
dextra
2007-05-27 09:30:29
I get the same XML response! I use the generated
protectwebformcaptcha.php wordpress plugin.

Parser Error:

Expecting whitespace or '?'. Error processing resource
'http://protectwebform.com/verify/xxx_yyy_83.67.32.31/4fr...

<?xml version="1.0"><protectwebform><verification
result="yes"/><authorization status="1"/></prot...

This cause my verification to always fail with message:
"Wrong Protection Code Passed!"

I debugged it and the line that says:
$protectwebformresult = @file_get_contents(
returns empty string.

Please help or fix the response.

Thanks
dextra
2007-05-27 09:32:15
Oops, shouldn't have posted the verification url...
oleg
2007-05-27 14:29:09
nant,
seems to be fixed. Sorry for the delay.

dextra,
> file_get_contents
May be your problem is a little bit different, I don't think this is
an xml parser problem,
the "file_get_contents" functions could be disabled by isp for reading
the outer urls.

there is some discussion on that:
http://www.protectwebform.com/forum/topic/68/


> shouldn't have posted the verification url
fixed






Post Reply:

You must be logged in to reply.
Post message
Name: 
Email: 
Url: 




Registered users: 87996

Forms protected: 48551

Further Reading & Anti Spam Resources:

Directory


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

Page copy protected against web site content infringement by Copyscape