Forum Moderators: coopster

Message Too Old, No Replies

should I switch to a PHP mail script?

my host just banned the CGI I'd been using; now what?

         

stapel

6:26 pm on Mar 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I had been using Big Nose Bird's BNBForm for form-handling and allowing visitors to send me e-mails.

[bignosebird.com ]

Older versions of the script (1998 and 2000) had had a security hole, which was plugged in the 2002 version. I'd been using this 2002 version. In addition, I had increased the security by having the recipient e-mail addresses hard-coded into the script, rather than being held in "hidden" fields in the HTML code.

My server host has recently (and without warning) decided that this script is insecure, and says that I should replace it with a Matt Wright (emulator) script which, according to the documentation, can be set to be at least as insecure as the original Matt Wright script. I would rather not use this script.

Does anybody know of some other script that is generally regarded as "secure"? (I've never used PHP, but am willing to learn; I'm not wedded to CGI.) I would prefer something free, and would like the script to allow for variable recipients (so the visitor can designate the person or department to which the message should be routed).

Thank you.

Eliz.

Bigjohn

11:02 pm on Mar 1, 2004 (gmt 0)

10+ Year Member



There are LOTS of thoughts on this.

look at the MAIL() function of PHP. You can make it as simple or as complicated as you want. I'm just now starting to work on a simple one myself.

John

lasko

11:10 am on Mar 2, 2004 (gmt 0)

10+ Year Member



Php is well worth spending your time learning. Took me 3 months to learn some really good basic programming.

I have all my email addresses in a Mysql Database and use php to pull out the correct email address based on an ID.

Select email from table where id = '1'

However you don't have to be dependent on a Mysql Database but it does give that little extra :)

Using POST and Mail function in Php certainly makes it more secure and easier to use.

Imagine that I have 200 advertisers now each advertiser has to have a personal contact form only php, asp and any email address instantly.

Go for it, learn php and mysql you be glad you did.

percentages

11:20 am on Mar 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



PHPMailer is the best way to go IMHO. PHP is NOT difficult to learn if you already know Perl, in fact it is easier to learn than Perl.

Both have advantages and disadvantages, I prefer PHP now by a nose, some will disagree. Both have "Power" in particular situations, PHP is a tad more friendly when debugging though :) For mail, PHP free scripts offer better "canned" facilities.

Longhaired Genius

12:37 pm on Mar 2, 2004 (gmt 0)

10+ Year Member



I use PHPFormMail and like it a lot.

stapel

1:18 pm on Mar 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



percentages: It looks like PHPMailer is meant for sending out loads of e-mails (like for running an e-mail-based newsletter). I'm just wanting a form handler.

Longhaired Genius: PHPFormMail includes the recipient's e-mail address in the HTML code, and thus, to my understanding, is not secure.

Thank you for your time.

Eliz.

stapel

2:14 pm on Mar 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Does anyone have an opinion on this script?

notonebit.com/projects/killbot/

In order to submit the form to the script, the user has to enter the alphanumeric characters in a graphical password. The above page says that there are "sixty million" different possible passwords, which seems like a lot for a spam-bot to have to guess each time it wants to send spam through.

Thank you.

Eliz.

[edited by: jatar_k at 5:00 pm (utc) on Mar. 2, 2004]
[edit reason] delinked [/edit]

stapel

1:20 am on Mar 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm thinking that the security feature of the "Killbot" script (referenced in a previous post) applies to live people. Since the key to the graphical password seems to be in the HTML form's coding (in encrypted form?), I'm guessing that a bot might not have that much trouble with it.

So I would appreciate the opinions of the experienced with regard to the "Phorm" script, available at www.phorm.com/ and the "Ultimate Form Mail" script, available at surefirewebdesign.com/scripts/

Thank you.

Eliz.