is it because its a free webhost?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
deemac
Forum Newbie
Posts: 2
Joined: Wed Oct 06, 2010 6:41 pm

is it because its a free webhost?

Post 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?
Last edited by deemac on Thu Oct 07, 2010 12:47 am, edited 1 time in total.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: is it because its a free webhost?

Post 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.
deemac
Forum Newbie
Posts: 2
Joined: Wed Oct 06, 2010 6:41 pm

Re: is it because its a free webhost?

Post by deemac »

thnx for confirming that man, I shall switch hosts.
Post Reply