04.08.2013, 12:42
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:
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
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";
?>
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