$REMOTE_ADDR ever heard of it?
Moderator: General Moderators
$REMOTE_ADDR ever heard of it?
Anyone know what are functions that determine user information such as the ip adress and related... i remember seeing and even using $REMOTE_ADDR but it doesn't work anymore... at least it remains blank for me...
Bugger... i found out... well for those interested the php manual spits out that it didn't find anything... apparently there are some nifty things you can do at the following address http://www.php.net/manual/en/reserved.v ... les.server
I thought at first you hadta add the $_SERVER['REMOTE_ADDR'] but i am unsure if that is the case but you don't need that and can in fact call this by simply typing $REMOTE_ADDR
Hope this helps some...as it struck me for a while...[/url]
I thought at first you hadta add the $_SERVER['REMOTE_ADDR'] but i am unsure if that is the case but you don't need that and can in fact call this by simply typing $REMOTE_ADDR
Hope this helps some...as it struck me for a while...[/url]
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
If register_globals is off (and it's off by default) you have to use the $_SERVER array to get this value.mikusan wrote:I thought at first you hadta add the $_SERVER['REMOTE_ADDR'] but i am unsure if that is the case but you don't need that and can in fact call this by simply typing $REMOTE_ADDR
Mac