tio
07-13-2009, 09:19 AM
hello -
i've been working with php for a while now and have honestly no clue what is going on on the hm server.
i'm still developing my app. and wanted to test a function which is dervied from the app it self. and it doesn't work on there server currently.
i have used and echod my ip from php and have checked every thing to ensure i didn't flag it or something.
but here is the link www.only1wizard.com/test.php
this is just a demo to ensure that it is capturing the ip address etc...
here is the code:
[code]
<?$
2 $visitor_ip = GetHostByName($REMOTE_ADDR) ;$
3 $ip = $visitor_ip ;$
4 echo "<br> Your IP address : " . $ip;$
5 echo "<br> Your hostname : " . GetHostByName($ip);$
6 ?>$
[code]
thanks in advance for your help!
tio
i've been working with php for a while now and have honestly no clue what is going on on the hm server.
i'm still developing my app. and wanted to test a function which is dervied from the app it self. and it doesn't work on there server currently.
i have used and echod my ip from php and have checked every thing to ensure i didn't flag it or something.
but here is the link www.only1wizard.com/test.php
this is just a demo to ensure that it is capturing the ip address etc...
here is the code:
[code]
<?$
2 $visitor_ip = GetHostByName($REMOTE_ADDR) ;$
3 $ip = $visitor_ip ;$
4 echo "<br> Your IP address : " . $ip;$
5 echo "<br> Your hostname : " . GetHostByName($ip);$
6 ?>$
[code]
thanks in advance for your help!
tio