Topic awaiting preservation: Form not sending mail using includes... PHP (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: there...no..there..... |
posted 04-27-2004 19:07
I have a form that will send an email to me as well as an auto-responder. Typical stuff for right now. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 04-27-2004 19:24
if($_POST['Submit']) should probably be if (isset($_POST['Submit'])) - and I'd hope that Submit is not the submit button - for it would not be submitted the form's being sent with 'enter'. |
Maniac (V) Inmate From: there...no..there..... |
posted 04-27-2004 21:44
Nope, still not working. |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 04-27-2004 21:49
I would think you could not call the page from the url index.php?link=email and also expect to be able to send a "POST" to the same address. By issuing a call to index.php?link=email you are issuing a "GET" call. You can not issue both a get and a post at the same time. |
Maniac (V) Inmate From: there...no..there..... |
posted 04-27-2004 22:05
well.....how 'bout I just make it it's own separte page and just do it that way. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 04-27-2004 23:10
Your action is off. Presumably none of the email code is included if you don't have link=email in the url. (or wherever $_GET['link'] is parsed). |
Maniac (V) Inmate From: there...no..there..... |
posted 04-27-2004 23:54
quote:
|
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 04-28-2004 01:10 |