RE: [PHP] No text in form submission

From: Date: Sun, 21 Jul 2002 20:08:27 +0000
Subject: RE: [PHP] No text in form submission
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-108739@lists.php.net to get a copy of this message
Is there a way to tell, just contacted my host and they do not know, they said they could look it up Monday when back in office -----Original Message----- From: Jason Wong [mailto:php-general@gremlins.com.hk] Sent: Sunday, July 21, 2002 2:26 PM To: php-general@lists.php.net Subject: Re: [PHP] No text in form submission On Monday 22 July 2002 01:52, Dean Ouellette wrote: > Been working on trying to get form submission to work. > > Now have it so when click enter it e-mails me, but there is no text > subitted in the e-mail What version of php are you using? > <? > $MailToAddress = "dean@email.com"; > $MailSubject = "Group volunteer list"; > if (!$MailFromAddress) { > $MailFromAddress = "$email"; > } > $Header = ""; > $Footer = ""; > > foreach($_POST as $key => $val) > { > $val = stripslashes($val); > $Message .= "$key = $val\n"; > } What do you see when you: print_r($_POST) -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* <JALH> regex are more than some crappy posix thing <JALH> they are an art form - Marc Zealey on #kernelnewbies */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#108739) next »