Solution to "Unrecognized peer" problems in PHP client

From: Colin Viebrock (colin@easydns.com)
Date: Thu Jun 03 2004 - 16:00:26 EDT


OpenSRS-PHP users,

Jason Slaughter at Tucows discovered a small bug with the client today.
  If you are continually getting "Unrecognized Peer" error messages,
this may be the cause of it:

The code relies on the PHP setting for magic_quotes_runtime being
turned off. If it's on, then the XML data read from OpenSRS is
slash-escaped, which causes the XML parser to barf.

So, if you are experiencing this error, one solution would be to turn
magic_quotes_runtime off in your php.ini file, your Apache
configuration file, in .htaccess, or by adding:

        set_magic_quotes_runtime(0);

to your scripts. Note, however, that this *may* break your scripts, if
you are relying on magic_quotes_runtime being enabled.

We're working on putting out a patch release to address this bug, but
until then ... see if that solves your problems.

- Colin



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:37:57 EDT