here's a simple way
"Steve Yates" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> "Michael Delorme" <[EMAIL PROTECTED]> wrote
> > However I only get 127.0.0.1
> > But I want the "public" dynamic adress my ISP gave me,
>
> Don't use localhost, that's alway
"Michael Delorme" <[EMAIL PROTECTED]> wrote
> However I only get 127.0.0.1
> But I want the "public" dynamic adress my ISP gave me,
Don't use localhost, that's always 127.0.0.1 by definition. You didn't
say what server you are using but if it's Apache try...
getenv('SERVER_ADDR');
or
gethost