--- pasupathy <[EMAIL PROTECTED]> wrote:
> 
> hello, please help
> 
> the  <? echo $remote_addr ?> script won't return the
> IP address of the
> viewer of my remote webpage,

Try
<?php echo HTTP_SERVER_VARS['REMOTE_ADDR']; ?>

also try
<?php echo phpinfo(); ?>

It will tell you all the vars available, and you can
see if register_globals is turned off (which is why
you need to use HTTP_SERVER_VARS[])

Cheers,
Bryan

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to