/    Sign up×
Community /Pin to ProfileBookmark

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

11-16-07

Dear Friends:

1) We have

[code=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

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@TecBratNov 23.2007 — Is your form validation PHP or javascript?

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

Success!

Help @Dave_Sato spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.25,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...