Menu

#6 Contact Form Issue

open-fixed
nobody
None
5
2005-07-15
2005-06-07
karlcore
No

Some contact forms are generating this PHP error:

"Warning: gethostbyaddr(): Address is not a valid IPv4
or IPv6 address in
/home/httpd/vhosts/grindminded.com/httpdocs/includes/content/contact_content.php
on line 36"

Discussion

  • karlcore

    karlcore - 2005-06-07

    Logged In: YES
    user_id=1213748

    As a temporary fix, please comment out line 36 of the
    following file:

    /includes/content/contact_content.php

    In case you're new to PHP, just put " // " in front of that
    line.

    Line 36 is used to append the user's hostname and IP address
    to the e-mail, so you can use it to track contact form abuse
    (in case someone spams you from your contact form)

    In the grand scheme, this line isn't worth the trouble it is
    causing some users.

     
  • karlcore

    karlcore - 2005-07-15
    • status: open --> open-fixed
     
  • karlcore

    karlcore - 2005-07-15

    Logged In: YES
    user_id=1213748

    This is now commented out in Ver. 1.1.1 until I figure out
    the problem and have a real fix for it

     

Log in to post a comment.