[PHP] Server's IP Adress

2004-09-25 Thread Kevin Javia
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



Re: [PHP] Server's IP Adress

2004-09-25 Thread Pahlevanzadeh Mohsen
You can use getbyhostname() func.
--- Kevin Javia [EMAIL PROTECTED] 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 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php