<?php $name = $_POST['name']; $address = $_POST['address']; $email = $_POST['email']; $phone = $_POST['phone']; $type = $_POST['type']; $message = $_POST['message'];
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 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