HTTP_POST help
#4

i dont know about that as i didnt went so far with testing...
but you don't need to connect it with ftp, you just need the right URL (to your php file or a text file, when youre just reading)

you can "code" some security if you want
just a example:
PHP код:
<?php
error_reporting
(0);
if(!isset(
$_GET['passCode']))
{
echo 
"Fail!";
exit;
}
else if(
$_GET['passCode'] != "-MY564!!Pass4yyyY'Word-")
{
echo 
"Error 406: NOT Acceptable!";
exit;
}
echo 
"continue the code, password was correct";
?>
here you send the "passCode" you set in your script.
so it's like a password.

or the other way when you've cahnged the User Agent of your server,
just check $_SERVER['HTTP_USER_AGENT']; instead of "passCode"

default User Agent is SAMP 0.3 or so, cant remember
Reply


Messages In This Thread
HTTP_POST help - by RajatPawar - 04.08.2013, 09:06
Re: HTTP_POST help - by CutX - 04.08.2013, 09:51
Re: HTTP_POST help - by RajatPawar - 04.08.2013, 10:27
Re: HTTP_POST help - by CutX - 04.08.2013, 12:42

Forum Jump:


Users browsing this thread: 1 Guest(s)