Re: [PHP] PHP: Undefined Variables Error Message

2004-08-27 Thread Michal Migurski
Hello all. I just finished placing a new server in production and PHP is not working. I am getting undefined variable messages when trying to submit php based forms. Register Globals is on in php.ini, but it still does not work. I have even tried copying a known-good php.ini from another server

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Justin Patrin
On Thu, 26 Aug 2004 14:47:17 -0700, Jeff - Webmaster <[EMAIL PROTECTED]> wrote: > Removing the "." got rid of most of the errors, but two remain: > > Notice: Undefined variable: headers in E:\domains\swinos\contact.php on line 4 > > Notice: Undefined variable: message in E:\domains\swinos\contact

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Turned out to be something different about PHP 4.3.8 vs. 4.3.4. That was the only difference between the two servers. As soon as I corrected that, all files are working like they used to. Thanks for your help. Jeff At 05:22 PM 8/26/2004, John Holmes wrote: Jeff - Webmaster wrote: Intersting. Thi

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread John Holmes
Jeff - Webmaster wrote: Removing the "." got rid of most of the errors, but two remain: Notice: Undefined variable: headers in E:\domains\swinos\contact.php on line 4 Notice: Undefined variable: message in E:\domains\swinos\contact.php on line 12 The offending lines are: 4 - $headers = "MIME-Ve

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Removing the "." got rid of most of the errors, but two remain: Notice: Undefined variable: headers in E:\domains\swinos\contact.php on line 4 Notice: Undefined variable: message in E:\domains\swinos\contact.php on line 12 The offending lines are: 4 - $headers = "MIME-Version: 1.0\r\n"; and 12 -

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread John Holmes
Jeff - Webmaster wrote: Intersting. This is the same pair of html and php files that was functional on another server. Can you think of any reason that could account for the difference? default error_reporting levels... -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Intersting. This is the same pair of html and php files that was functional on another server. Can you think of any reason that could account for the difference? Jeff At 01:51 PM 8/26/2004, John Holmes wrote: Jeff - Webmaster wrote: Another website dies on line 4 here: $headers .= "MIME-

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread John Nichel
Jeff - Webmaster wrote: Here is a snippet of the code that is being choked on. The first failure comes from line 6: The variables are being passed from an html form that calls this script with the post method. Jeff If you're going to use the super-global $_POST, why do you need globals on? Any

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread John Holmes
Jeff - Webmaster wrote: Another website dies on line 4 here: $headers .= "MIME-Version: 1.0\r\n"; Well, in this case it's becaue $headers is undefined, yet you're trying to concatinate another string to it. Thus the warning... -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registr

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread John Nichel
John Holmes wrote: I have mind reading turned off for the time being. It's a good thing I'm a nice guy. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Another website dies on line 4 here: $to = "[EMAIL PROTECTED]"; $subject = "Swinos.com Booking Contact - $name"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= "From: swinos.com <[EMAIL PROTECT

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
Here is a snippet of the code that is being choked on. The first failure comes from line 6: The variables are being passed from an html form that calls this script with the post method. Jeff At 12:06 PM 8/26/2004, John Holmes wrote: From: "Jeff - HarborNet" <[EMAIL PROTECTED]> Hello all. I jus

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread John Holmes
From: "Jeff - HarborNet" <[EMAIL PROTECTED]> Hello all. I just finished placing a new server in production and PHP is not working. I am getting undefined variable messages when trying to submit php based forms. Register Globals is on in php.ini, but it still does not work. I have even tried copy

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread John Nichel
Jeff - Webmaster wrote: Hello all. I just finished placing a new server in production and PHP is not working. I am getting undefined variable messages when trying to submit php based forms. Register Globals is on in php.ini, but it still does not work. I have even tried copying a known-good php.

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Jeff - Webmaster
The error reporting level is the same as it was for the same websites on a different server that is working. Jeff At 11:49 AM 8/26/2004, Greg Donald wrote: On Thu, 2004-08-26 at 12:55, Jeff - Webmaster wrote: > Hello all. I just finished placing a new server in production and PHP is > not working

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Greg Donald
On Thu, 2004-08-26 at 12:55, Jeff - Webmaster wrote: > Hello all. I just finished placing a new server in production and PHP is > not working. I am getting undefined variable messages when trying to submit > php based forms. Register Globals is on in php.ini, but it still does not > work. I have

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread John Holmes
From: "Jeff - Webmaster" <[EMAIL PROTECTED]> Hello all. I just finished placing a new server in production and PHP is not working. I am getting undefined variable messages when trying to submit php based forms. Register Globals is on in php.ini, but it still does not work. I have even tried copy