www.webdeveloper.com
Results 1 to 2 of 2

Thread: Receiving E mail by error(?) from web hosting server or visitor's browser

  1. #1
    Join Date
    May 2007
    Posts
    5

    Receiving E mail by error(?) from web hosting server or visitor's browser

    11-16-07

    Dear Friends:

    1) We have [php] program in our web files ( , which forwards the visitor's form data to our E mail address) .

    2) We have received E mail ( which does not have contents).

    3) Wondering if some visitor submitted form data or no one submitted form data. Our website has form validation. Form can not be submitted unless visitor complete the form.

    4) Double checked our website. It works fine.

    5) Are there any way to identify the source which causes possible error or
    to put some tracer based on the visitor's web browser each time when visitor does something on our website ?

    Dave Sato

  2. #2
    Join Date
    Oct 2007
    Posts
    370
    Is your form validation PHP or javascript?

    To trace, what I aways do is set
    PHP Code:
    $ip $_SERVER['REMOTE_ADDR']; 
    and then
    PHP Code:
    $comments=stripslashes($comments);
    $comments.="<br><br><br><br>$ip";
    //assumes MIME / HTML email 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles