HTTP Problem
#9

Quote:
Originally Posted by ******
Посмотреть сообщение
Did you actually correctly POST the data, rather than GET it?
Here is the PHP page, I don't really know if I did it correctly :S
PHP код:
<?php
require_once 'SampRconAPI.php';
$rcon = new SampRconAPI('127.0.0.1'7777'123');
if(!isset(
$_REQUEST['TNum']))$rcon->Call('test_num');
if(isset(
$_REQUEST['TNum']))
    echo 
'new TNum = '$_REQUEST['TNum'];
else
    echo 
'failed.';
?>
Reply


Messages In This Thread
HTTP Problem - by noambbv - 25.04.2012, 09:14
Re: HTTP Problem - by EviLpRo - 25.04.2012, 11:07
Re: HTTP Problem - by ikey07 - 25.04.2012, 12:29
Re: HTTP Problem - by noambbv - 25.04.2012, 15:46
Re: HTTP Problem - by MadeMan - 25.04.2012, 16:24
Re: HTTP Problem - by noambbv - 25.04.2012, 16:33
Re: HTTP Problem - by noambbv - 26.04.2012, 11:15
Re: HTTP Problem - by noambbv - 26.04.2012, 11:43
Re: HTTP Problem - by noambbv - 26.04.2012, 11:59
Re: HTTP Problem - by noambbv - 26.04.2012, 14:20

Forum Jump:


Users browsing this thread: 2 Guest(s)