Results 1 to 5 of 5

Thread: obtaining client ip address

  1. #1

    Default obtaining client ip address

    Is there a NOF method of obtaining a viewing client's IP address?

    (There is in Visual Basic 2010, it is Request.UserHostAdress (which you assign to a variable)).

  2. #2
    Senior Member LBA's Avatar
    Join Date
    Jan 2010
    Location
    California
    Posts
    543

    Default

    NOF isn't a language... it's an HTML generator. But you can easily add commands that will do exactly what you want. For example, with PHP you could add this to a page...

    <?php echo $_SERVER['REMOTE_ADDR'];?>

    ...and remember to rename the page so that it has a PHP filename extension... and be sure that your server supports PHP... it will print the IP address.

  3. #3

    Default

    Thank you very much. My current hoster (free) say that they only do htm and html files. Is there any way I can use html pages or link to them?

  4. #4
    Senior Member LBA's Avatar
    Join Date
    Jan 2010
    Location
    California
    Posts
    543

    Default

    Nope. Can't do that with HTML. But you can often get hosting plans that support PHP for just a couple bucks per month.

  5. #5
    Senior Member 1FugleyKiwi's Avatar
    Join Date
    Jan 2011
    Location
    Playford Waters, South Australia
    Posts
    476

    Default

    Just curious - why do you want to do this?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •