Re: [PHP] wanting to get host name instead of ip

2005-11-10 Thread matt VanDeWalle
yes, you assume right, I really did mean socket_getpeername() its about midnight here and my brain shuts down at about 10:30 :p thanks for the reply matt On Thu, 10 Nov 2005, Curt Zirzow wrote: On Thu, Nov 10, 2005 at 11:35:06PM -0600, matt VanDeWalle wrote: hello, I was wondering, is there

Re: [PHP] wanting to get host name instead of ip

2005-11-10 Thread Curt Zirzow
On Thu, Nov 10, 2005 at 11:35:06PM -0600, matt VanDeWalle wrote: > hello, > I was wondering, is there a way to get a connection's name(host's name > instead of just ip), > i am using the cli version of php and am now using the function > getpeername() but for example, i would like to be able to

[PHP] wanting to get host name instead of ip

2005-11-10 Thread matt VanDeWalle
hello, I was wondering, is there a way to get a connection's name(host's name instead of just ip), i am using the cli version of php and am now using the function getpeername() but for example, i would like to be able to have it say something like "connection: localhost " instead of "con