jsbowen

Members
  • Content Count

    392
  • Joined

  • Last visited

Posts posted by jsbowen

  1. For the rearranging of items in the message and to grab the IP, add the following to the first part of your code:

    $ip = $_SERVER["REMOTE_ADDR"];
    $mes = "Name: ".$name."\n";
    $mes .= 'Email: '.$email."\n";
    $mes .= "Subject: ".$subject."\n";
    $mes .= "Message: ".$msg."\n";
    $mes .= "IP: ".$ip."\n";
    $mes .= 'Date & Time: '.$d;

    Someone more knowledgeable with PHP will have to help with the bannedIP option.