Multi Language + php

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #16
    Re: Multi Language + php

    Originally posted by eliteclub
    Hello, Navaldesign!

    THANK YOU! You are just great! Everything works perfect!

    How can I get also an IP number of the person? What must I add in mail1.php ?

    Thanx!
    Hi eliteclub,

    here is the code you need (I also added date and browser information)

    // Find Server date and Time
    $date = date("l jS F Y, g:i A");

    // Find Browser and IPaddress
    $browser =$_SERVER['HTTP_USER_AGENT'];

    $ip = $_SERVER['REMOTE_ADDR'];



    You must add this code just at the second line of the script.

    Then to insert the information in the body of your email, add the following lines at the end of the mail body creation part (you will see it immediately because it has the same format):

    . "---------------------------------------\n"
    . "Date and Server time of submission: $date\n"
    . "Browser : $browser\n"
    . "IP address : $ip\n";

    Hope everything works out fine

    Have a nice Xmas
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

    Comment

    • eliteclub
      Private First Class

      • Dec 2005
      • 8

      #17
      Re: Multi Language + php

      Hello, Navaldesign!

      Thank you again for help! Everything works great!

      Happy Holidays!

      Best regards,
      Vadim Eidlin

      Comment

      Working...
      X