RE: [PHP] No text in form submission

From: Date: Sun, 21 Jul 2002 20:30:34 +0000
Subject: RE: [PHP] No text in form submission
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-108743@lists.php.net to get a copy of this message
I have a different host I use for my sites, this is one I took over, and they insist I use this hosting company, friend of an owner. Have been trying to get to switch but wont. So any ideas on how can get this to work, no text coming in email When I print_r($_POST) ((((what does that do?))) I get print_r($_POST) Fatal error: Call to unsupported or undefined function foreach() in /www/docs/www.electjoemarine.com/email.php on line 71 > PHP Version 3.0.16 > > <? > > $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 > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#108743) next »