You are here: Re: How to get value from drop down box to e-mail with php « PHP Programming Language « IT news, forums, messages
Re: How to get value from drop down box to e-mail with php

Posted by Geoff Berrow on 06/30/06 06:30

Message-ID: <1151638485.258930.165200@h44g2000cwa.googlegroups.com> from
kandi111777 contained the following:

><select name="selectitem" size="1">
>
>and
>
>$Subject = $_POST['selectitem'];

All you really had to do was make sure they were the same case. You had
$Subject = $_REQUEST['subject'];
and
<select name="Subject" size="1">
>
>Okay, now do you happen to know how to BCC a recipient?

mail( "kandihumpf@site-seeker.com", "RCI Waterjets Contact Us Form",
"Name: $Name \n\nComments: $Comments \n\nEmail: $Email
\n\nTelephone: $Telephone \n\nFax: $Fax \n\nSubject: $Subject
\n\nSubject Other: $SubjectOther \n\nContact Requested:
$ContactRequested", "From: kandihumpf@site-seeker.com
\nBcc:me@example.com" );

Doesn't work on some setups though. Check with your service provider.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

 

Navigation:

[Reply to this 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

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