/    Sign up×
Community /Pin to ProfileBookmark

Formmail.php

I was told by Doteasy that if the inquiry form is to go to the school which I had built the site for at [url]http://www.aolwardensheppard.com/inquiryform.htm[/url] that I have to have the e-mail address in the source code. I did that the last time, and the school had a stack of spam.

This time I had redone the whole site without putting the e-mail address in, just in the HIQ/FM config.php. If I have to put it in the source code, is there a way that it could be hidden, so the school does not get a stack of spam?

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@FangJul 10.2008 — The fact that the school receives spam means they are already on the spammers lists and so will continue to receive spam. Too late!

http://www.webdeveloper.com/forum/showpost.php?p=904981&postcount=2
Copy linkTweet thisAlerts:
@mityaJul 12.2008 — As Fang says, it's too late to simply stop the spam. But if you're mailing via PHP you certainly don't need the e-mail that the e-mails go to in the source code, i.e. outputted HTML. It need only be in the mail function itself, i.e. mail("[email protected]". PHP source code doesn't make it to the browser so this can't be read by users or spam bots etc.
×

Success!

Help @p1a2t3 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.19,
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,
)...