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 PROTECTED]>\r\n";
$headers .= "Reply-To: ".$name." <".$email.">\r\n";
$headers .= "X-Priority: 1\r\n";
$headers .= "X-MSMail-Priority: High\r\n";
$headers .= "X-Mailer: iCEx Networks HTML-Mailer v1.0";
$subject = stripslashes($subject);
$message = stripslashes($message);
$body = "<font face=Arial size=-1><b>$name</b> has submited a Booking Request. <br><br>
Name: <b>$name</b> <br>
Email address: $email <br>
Phone: $phone <br>
Business Name: $business <br>
Venue: $venue <br><br>
Comments: <br>$comments";
$success = @mail($to,$subject,$body,$headers);
?>
At 12:06 PM 8/26/2004, John Holmes wrote:
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 a known-good php.ini from another server and the same behavior exists. I am running IIS in Windows 2000. Any ideas?
Does the output of phpinfo() show that register_globals is ON?
Yes it does show as being on.
Sorry, I forgot to also put:
and if it is on, show some code that produces the message you're talking about. If it says $var is undefined, where to you define $var or how do you think/feel $var is being defined?
I have mind reading turned off for the time being.
---John Holmes...
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php