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
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
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 copying
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
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.
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
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 copying
Here is a snippet of the code that is being choked on. The first failure
comes from line 6:
?php
$name = $_POST['name'];
$address = $_POST['address'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$type = $_POST['type'];
$message =
Another website dies on line 4 here:
?php
$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
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
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:
Jeff - Webmaster wrote:
Here is a snippet of the code that is being choked on. The first failure
comes from line 6:
?php
$name = $_POST['name'];
$address = $_POST['address'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$type = $_POST['type'];
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 .=
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:
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 -
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 =
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.
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.php on
18 matches
Mail list logo