Results 1 to 2 of 2

Thread: How to email IP and browser type on page load

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2005
    Posts
    1,907

    Arrow How to email IP and browser type on page load

    Hi all i am kind of new to php. I wonder how i can email user ip address and browser type on page load. What i mean is once a page loaded on visitor browser it sends me the administrator of a site an email with ip address of visitor and browser type . I be happy if an expert help me achiving this task.Thanks

  2. #2
    Lively Member deranged's Avatar
    Join Date
    Jun 2004
    Location
    TN
    Posts
    104

    Re: How to email IP and browser type on page load

    http://us2.php.net/manual/en/ref.mail.php <-- Mail function so you know how to send the email.

    http://us3.php.net/reserved.variables <-- Shows how to get environment variables including IP address and Web Browser, among others.

Posting Permissions

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



Click Here to Expand Forum to Full Width