Re: 2 Issues for Mail() in Win/PHP4-
| From: | Steve Yates | Date: | Mon, 04 Nov 2002 06:26:22 +0000 |
| Subject: | Re: 2 Issues for Mail() in Win/PHP4- | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-16715@lists.php.net to get a copy of this message | ||
"Marie Monday" <Marie.Monday@ncmail.net> wrote in message
news:3DC3F4BB.D40352A5@nomail.net...
> I'm a PHP newbie and have just installed php4.2.3
Earlier versions of 4.x would auto-create variables for you. 4.2 no
longer does that. Your Apache server is probably using an older version of
PHP, or has register_globals turned on. Use
$variable = $_POST['variable']; // or
echo $_POST['variable'];
or, extract($_POST) or extract($HTTP_POST_VARS) to create all POSTed
variables.
- Steve Yates
- Wicked witch parking only -- Violators will be toad.
~ Do you like my taglines? Add them to your messages and
~ laugh through hundreds more by downloading Taglinator
~ at www.srtware.com today!