Re: Server's IP Adress
| From: | Pahlevanzadeh Mohsen | Date: | Sun, 26 Sep 2004 04:24:49 +0000 |
| Subject: | Re: Server's IP Adress | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197855@lists.php.net to get a copy of this message | ||
You can use getbyhostname() func.
--- Kevin Javia <kevin@renderhorizon.com> wrote:
> Greetings,
>
> How can I get Server's IP address?
>
> I know $_SERVER["SERVER_ADDRSS"] but this do not
> work all the time. Is there
> any other method?
>
> Thanks a ton in advance.
>
> Kevin.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
=====
---------DIGITAL SIGNATURE-------------------
///Mohsen Pahlevanzadeh////////
Network administrator & programmer
My home phone is: +98213810146
My email address is
m_pahlevanzadeh at yahoo dot com
My website is: http://webnegar.net
----------------------------------------------------------------
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail