Why doesn't HTTP work for local servers?
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
I've had some weird issues with this myself where HTTP would return status code 6, but the request did actually succeed. Status code 6 isn't even a valid HTTP response so I am clueless as to what it means.

By the way, your php code is syntactically incorrect, so different versions of php might interpret it differently. Try this:
PHP код:
<?php echo "OK" ?>
<?="string"?> is a shorter way of writing <?php echo "string" ?>, works fine

The sa-mp wiki says status code 6 = HTTP_ERROR_MALFORMED_RESPONSE but I have no clue why.
Reply


Messages In This Thread
Why doesn't HTTP work for local servers? - by Sinner - 13.07.2012, 09:00
Re: Why doesn't HTTP work for local servers? - by Vince - 13.07.2012, 09:26
Re: Why doesn't HTTP work for local servers? - by Sinner - 13.07.2012, 09:54

Forum Jump:


Users browsing this thread: 1 Guest(s)