Current time: 11-26-2020, 04:19 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Configuring a relay server
06-24-2012, 02:42 AM
Post: #4
Lightbulb RE: Configuring a relay server
Well, I found what the problem is. It has nothing to do with location.ini configuration.
In runtest.php and in RelayTest() function, there is the line:
$test = json_decode($_POST['testinfo'], true);
If we run php<5.4 and magic_quotes_gpc is enabled in php.ini, then we have a problem.
To overcome this, I added a line of code just before:
if (get_magic_quotes_gpc()) $_POST['testinfo'] = stripslashes($_POST['testinfo']);

Now everything works fine.
Nick
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Configuring a relay server - nikosd66 - 06-20-2012, 07:42 AM
RE: Configuring a relay server - pmeenan - 06-21-2012, 03:14 PM
RE: Configuring a relay server - nikosd66 - 06-22-2012, 05:27 AM
RE: Configuring a relay server - nikosd66 - 06-24-2012 02:42 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)