Computer's IP address

Hi there,

How do you get the IP address of the computer running the code?

Thank you...

Comments

  • The code is running on the server... but the remote IP is saved in the enviroment variables...

    you can get it this way:

    [code]
    $ip = getenv("REMOTE_ADDR");
    [/code]

    hope this is what you've meant
    best regards,

    sebastian mohrenstecher
    executive secretary
    net::allies

    www.net-allies.de
    [email protected]

  • Thank you, that's what I meant
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories