RE: Different between $REMOTE_ADDR and $SERVER_ADDR ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Do a quick review of your phpinfo() file and you will get something like
this

_SERVER["SERVER_ADDR"]	192.168.100.23
_SERVER["SERVER_PORT"]	80
_SERVER["REMOTE_ADDR"]	192.168.123.26

*** these are mine server details. ***

So server_addr means where you file is saved in your server.
And remote_addr will gv you the place of file from where you are
accessing your file.

I think you are chking the things in localhost so it will show you both
the things as 127.0.0.1. try to put your phpinfo() in any network and
chk. :)

____________
10x,
Ankur Dave


-----Original Message-----
From: php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx]
On Behalf Of drseervi
Sent: Tuesday, October 17, 2006 10:39 AM
To: php-objects@xxxxxxxxxxxxxxx
Subject:  Different between $REMOTE_ADDR and $SERVER_ADDR ?

Hi All,
  Anybody can tell me that what is the different between $REMOTE_ADDR 
and   $SERVER_ADDR ?





PHP Data object relational mapping generator
http://www.metastorage.net/
Yahoo! Groups Links






The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.

www.aztecsoft.com



PHP Data object relational mapping generator
http://www.metastorage.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php-objects/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:php-objects-digest@xxxxxxxxxxxxxxx 
    mailto:php-objects-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux