B
baldo
Can i find a template of a mail form working in php?
html form and php-script on the webserver?
html form and php-script on the webserver?
Can i find a template of a mail form working in php?
html form and php-script on the webserver?
If you want to see how a form is done, peruse this one:
<http://safalra.com/programming/php/contact-feedback-form/ >
baldo said:Can i find a template of a mail form working in php?
html form and php-script on the webserver?
You could take that up with the author.
In message said:Can i find a template of a mail form working in php?
html form and php-script on the webserver?
se said:I use this one. Done so for quite a long time. I'm very satisfied with it
http://www.jamesshuggins.com/h/hefs/huggins-email-form-script.htm
Beauregard said:What do the two of you expect visitors to do who do not have email clients
installed on their computers? Those using a friend's computer; those
accessing from an internet cafe; or those who have no ISP address at all
and rely on online mail services such as Yahoo/Gmail/Hotmail? Your "mailto"
link is useless to all of them.
baldo said:is there something less commercial and more straightforward?
In message said:Denis McMahon wrote:
What do the two of you expect visitors to do who do not have email clients
installed on their computers?
Those using a friend's computer;
those accessing from an internet cafe;
or those who have no ISP address at all and rely on online mail
services such as Yahoo/Gmail/Hotmail? Your "mailto" link is useless to
all of them.
..or scanning web pages. You must obfuscate!
Beauregard T. Shagnasty said:Lewis wrote:
Beauregard T. Shagnasty wrote:
Your loss, I suppose.
In message said:Lewis wrote:
So when you are visiting someone's house, you expect them to install a
"tiny download" from Google or install an additional browser, just for
you?
And that only applies to Gmail. You forgot users of all the other
online mail services.
Well, that's totally wrong...
Your loss, I suppose.
You are also not considering (perhaps intentionally) that the web form can
control the data submitted with specific fields for validated response,
which can also be stored in a database, as opposed to a non-structured
email message of random text.
Here's why.
When I used mailto: links on my Web sites my email addresses were in the
clear in the HTML. Hence, they were harvested by spammers. I got to
the point where I was getting 1,000+ spams a week. I had to cancel that
email addy.
Munging your email in Usenet is also essential.
In message said:Lewis wrote:[snippage]
Beauregard said:Lewis wrote:
Mailto works great with gmail with a tiny download or works right 'out
of the box" with Chrome.So when you are visiting someone's house, you expect them to install a
"tiny download" from Google or install an additional browser, just for
you?
Where did I ever say that?
Just above. Gmail needs a "tiny download".
You would ask a friend to install it on *his* computer so you could
send an email to a web site?
And yet, you obfuscate your email on this newsgroup. Interesting.
Lewis said:As I said, to prevent clueless people from automatically emailing me
copies of their posts.
Am 20.06.2013 21:32, schrieb Beauregard T. Shagnasty:
| Copy the code above and paste it into your contact/feedback form page.
I'd say: don't do that, as the code uses stripslashes() (without any
check, if magic_quotes_gpc is On, which was removed as of PHP 5.4) and
eregi() (which is deprecated since PHP 5.3)--so it seems to be pretty
old code.
Furthermore the script doesn't set a Content-Type header, so the mail is
not unlikely to be unreadable if the body contains non ASCII characters,
let alone that the script ignores issues with non ASCII characters at all.
| $crack=eregi("(\r|\n)(to:|from:|cc:|bcc",$body);
Shall this prevent email header injection? I'll be blowed!
Here's why.
When I used mailto: links on my Web sites my email addresses were in the
clear in the HTML. Hence, they were harvested by spammers. I got to
the point where I was getting 1,000+ spams a week. I had to cancel that
email addy.
I moved to using forms where my email address was NOT contained in the
clear in the HTML of any of my pages: It was/is hidden in the form
handler script, away from the bots that scarf up email addresses. My
spam is down to, perhaps, one or two a month.
Munging your email in Usenet is also essential.
There are other benefits and tricks that forms offer but that basic
protection is enough to warrant that one should consider moving away
from mailto: links.
As I understand it, they have to remove bad addies by hand.
They don't want their prescious addy getting shut down because of
hundreds of returned mail notices.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.