Page 1 of 1

is it because its a free webhost?

Posted: Thu Oct 07, 2010 12:13 am
by deemac
why is the function $_SERVER['REMOTE_ADDR']; returning:
ScriptLog: HTTP/1.1 200 OK
Date: Thu, 07 Oct 2010 04:10:26 GMT
Server: Apache
X-Powered-By: PHP/5.2.13
Content-Length: 326
Connection: close
Content-Type: text/html

124.1.141.87AUTHORIZEDIP
<!-- http://www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->

>
isnt it supposed to return just the IP address and not all that other crap... is it because its a free webhost and has restrictions on PHP?

Re: is it because its a free webhost?

Posted: Thu Oct 07, 2010 12:15 am
by John Cartwright
That is very stupid of them to do that, nor do I see the purpose of it. But your right, it looks like they are using a modified build of PHP.

Re: is it because its a free webhost?

Posted: Thu Oct 07, 2010 12:48 am
by deemac
thnx for confirming that man, I shall switch hosts.