PDA

View Full Version : Getting users ip



Watdaflip
11-10-2005, 01:11 AM
Hey, on php version 5.0.4 I could get it by using

<? echo @$REMOTE_ADDR; ?>

but with 4.4.0 that no longer works, is cmd different in 4.4.0?

Thanks ahead of time

Watdaflip
11-13-2005, 01:50 AM
Never mind, I I found out an alternate way to do it

VodaHost
11-13-2005, 08:37 AM
Come on....Share the knowledge....

Watdaflip
11-13-2005, 07:29 PM
<? echo $_SERVER['REMOTE_ADDR']; ?>