Re: [PHP] No text in form submission
Create a file with phpinfo() in it. Justin on 22/07/02 6:08 AM, Dean Ouellette ([EMAIL PROTECTED]) wrote: > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] No text in form submission
> 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 $_POST doesn't exist in PHP 3. Use $HTTP_POST_VARS. Also check your settings of track_vars and register_globals in PHP.ini (or your phpinfo() page). Check the manual on what each of those settings mean and how they affect your script, too. http://www.php.net/manual/en/configuration.php ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] No text in form submission
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 = "[EMAIL PROTECTED]"; > > $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 * > > /* > regex are more than some crappy posix thing > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] No text in form submission
Tell your web hosting company to do an upgrade...or find a different hosting co... .: B i g D o g :. - Original Message - From: "Dean Ouellette" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 21, 2002 2:20 PM Subject: RE: [PHP] No text in form submission > PHP Version 3.0.16 > > -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED]] > Sent: Sunday, July 21, 2002 2:26 PM > To: [EMAIL PROTECTED] > 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 = "[EMAIL PROTECTED]"; > > $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 * > > /* > regex are more than some crappy posix thing > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] No text in form submission
PHP Version 3.0.16 -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 21, 2002 2:26 PM To: [EMAIL PROTECTED] 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 = "[EMAIL PROTECTED]"; > $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 * /* regex are more than some crappy posix thing 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
Re: [PHP] No text in form submission
Create a new php file and just put the following in it: should get you all the info you need Cheers Lee - Original Message - From: "Dean Ouellette" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 21, 2002 9:08 PM Subject: RE: [PHP] No text in form submission > 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:[EMAIL PROTECTED]] > Sent: Sunday, July 21, 2002 2:26 PM > To: [EMAIL PROTECTED] > 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 = "[EMAIL PROTECTED]"; > > $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 * > > /* > regex are more than some crappy posix thing > 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 > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] No text in form submission
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:[EMAIL PROTECTED]] Sent: Sunday, July 21, 2002 2:26 PM To: [EMAIL PROTECTED] 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 = "[EMAIL PROTECTED]"; > $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 * /* regex are more than some crappy posix thing 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