this used to work on my site but strangely it doesnt work anymore
i have a stats menu where it shows some stats including your IP i am using this code but it wont work anymore:
<!--#echo var="REMOTE_ADDR " -->
anybody know whats going on?
Printable View
this used to work on my site but strangely it doesnt work anymore
i have a stats menu where it shows some stats including your IP i am using this code but it wont work anymore:
<!--#echo var="REMOTE_ADDR " -->
anybody know whats going on?
:)HTML Code:<? echo "IP: $REMOTE_ADDR"; ?>
That never worked... :s
is it ment to be:
Code:<? #echo "IP: $REMOTE_ADDR"; ?>
Try <? #echo "IP: $ip = $_SERVER['REMOTE_ADDR']"; ?>Quote:
Originally Posted by L@c0ste
Its either that or your hosting dont allow it..Quote:
<!--#echo var="REMOTE_ADDR" -->
i can't see why it didn't work, Thats the usual 1, right?
Mines the oriiginal, to get code on CPanel go to errors page and make the code of show users IP?Quote:
Originally Posted by simplesimon12
the usual one i use was my original one it worked for ages then one day i edited the page and it never worked again.
None of them worked :eusa_doh:
Edited by Kroziun (Forum Moderator): Please don’t double post, simply edit your previous post.
Lol fixed now ;)