anyone have a script that will catch IP's

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smiles
    Registered User
    • Sep 2002
    • 36

    #1

    anyone have a script that will catch IP's

    have a cgi script that captures my check-box form data, e-mail address, date and time but I also need to capture the IP address. Does anyone have a script that will do all that. Sends it to a file on the server as well as e-mail to an address I specify.


    I tried formmail.pl but it doesn't give me the IP address even when I use the environment variables. Any help would be appreciated.


    Smiles
    www.xxxpressex.com
  • DrGuile
    Confirmed User
    • Jan 2002
    • 2025

    #2
    <?
    echo $REMOTE_ADDR;
    ?>
    LiveBucks / Privatefeeds - Giving you money since 1999
    Up to 50% Commission!
    25% Webmaster Referal
    Powered by Gamma

    Comment

    Working...