RE: [PHP] php mail form with predefined subject
| From: | scott [gts] | Date: | Thu, 12 Jul 2001 14:15:51 +0000 |
| Subject: | RE: [PHP] php mail form with predefined subject | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-57593@lists.php.net to get a copy of this message | ||
link to the mail form like this:
mailform.php?subject=Requesting+information+on
and in the mailform, have a subject field something
like this:
<INPUT TYPE=TEXT NAME="subject" VALUE="<?= $subject ?>">
> -----Original Message-----
> From: Ed Peddycoart [mailto:ed@celticblues.com]
> Subject: [PHP] php mail form with predefined subject
>
>
> I am in need of a mail form script which has the subject line filled in for
> the user....Here's what I mean....
>
> Let's say I have a webpage.
>
> On the web page is a picture of a truck, maybe a 1999 Ford F150.
>
> If the user clicks the pic, he/she is taken to a brief description of the
> truck.
>
> On the description page is a button which says "email for more info".
>
> If the user clicks this button he/she is taken to a page which is a mail
> form, with the subject being something like, "Requesting information on 1999
> Ford F150"
>
> I guess what you could say, in a way, is that I want to have a mail form,
> with the subject set according to where the user is coming from...sort of, I
> guess...
>
> Can anyone point me to some example code on how to do this? Or an archive
> of php mailform scripts?
>
> Thanks,
> Ed
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>