Reply to Re: help with email form

Your name:

Reply:


Posted by alice on 08/07/07 02:18

On Aug 6, 7:03 pm, Geoff Muldoon <geoff.muld...@trap.gmail.com> wrote:
> alice says...
>
>
>
> > Can anyone tell me why this code won't work?
> > I've saved it as mail.php, and have a form on a web page with
> > action="mail.php" in the html. I've gotten this to work before on
> > other pages I've worked on, I can't figure out why it's not working
> > today, I must have forgotten something. The thank you page comes up,
> > but the mail is not actually delivered.
>
> > <?php
> > $to="g...@fearofdolls.com";
> > $subject="Fear of Dolls web email";
> > $email=$_POST["email"];
>
> > $message="From Fear of Dolls web email\n";
> > $message.="message: ".$message."\n";
>
> > $head="From: f...@fearofdolls.com";
> > mail($to,$subject,"".$message,$head);
>
> ^^^^
> dot not comma?
>
>
>
> > header("Location:thankyou.html");
> > ?>- Hide quoted text -
>
> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

Well, doing that made something different happen...I got a message
from my ISPs proxy email relay, but not the content of the message I
mailed in the form.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация