Forum Moderators: coopster

Message Too Old, No Replies

Jacks formmail script problem

keep getting 404 error

         

lowcarbjohn

6:58 pm on May 3, 2007 (gmt 0)

10+ Year Member



Hi All

I'm new here, and to webmastering, so please be nice!
I have a website that contains a form that I want clients to fill and submit. I want the form to e-mail to me. I am trying to use Jacks script but as I am a complete novice at the moment, I'm probably making a simple error.

Here's what I have altered in the standard script:

// for ultimate security, use this instead of using the form
$recipient = "form@example.com"; //

// bcc emails (separate multiples with commas (,))
$bcc = "";

// referers.. domains/ips that you will allow forms to
// reside on.
$referers = array('example1.com'.'example2.com');

what am I doing wrong, or is there something else I should be doing?
I know I need to learn php, but I need this in a hurry.
Any help appreciated.

John

[edited by: eelixduppy at 7:02 pm (utc) on May 3, 2007]
[edit reason] removed specifics [/edit]

FiRe

11:04 am on May 4, 2007 (gmt 0)

10+ Year Member



$referers = array('example1.com'.'example2.com');

Should be

$referers = array('example1.com','example2.com');

Notice the , seperating each entry!