Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    FL, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts

    IP Address on HTML Page

    Hi everyone,

    Well what i'm trying to do is put the users IP address on the page their on. I know how to do this in perl but i know theres a way to do it on an html page. like: <!--#exec="REMOTE_ADDR"-->

    I know its something like that but i just can't figure it out.


    So my question is how can i do that



    Thanks in advance
    CYWebmaster.com - See why we dot com!!
    ACJavascripts.com - Cut & Paste Javascripts!
    SimplyProgram.com - Personal Blog

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Mex
    Posts
    122
    Thanks
    0
    Thanked 0 Times in 0 Posts
    this should work

    <!--#echo var="REMOTE_ADDR" -->

    Calilo

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    FL, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks Calilo,

    But it didn't work.

    I tried it normaly

    then i tried it by uploading it in ASCII Mode

    Then i tried chrom - ing it to 755.

    But none worked.

    Any other ideas
    CYWebmaster.com - See why we dot com!!
    ACJavascripts.com - Cut & Paste Javascripts!
    SimplyProgram.com - Personal Blog


  •  

    Posting Permissions

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