php-windows Digest 28 Feb 2002 17:07:17 -0000 Issue 1022

Topics (messages 12336 through 12338):

Re: Method get for Windows ME and PWS w/PHP-4.1.1
        12336 by: Steve Yates

Re: WinXP Error Passing Variables (and creating)
        12337 by: Steve Yates

Compiled 4.1.2 version
        12338 by: Egil Helland

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
"Frank Tudor" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED].;
> I am just trying to pass a value from one page to the
> next, nothing complicated. In the the addess bar I see
> the string pass, but on the page it is blank?

I believe the "register_globals" configuration directive must be turned
on for the variable to auto-create.  Otherwise use $_GET['blah'] or
$HTTP_GET_VARS['blah'].

http://www.php.net/manual/en/language.variables.external.php

 - Steve Yates
 - A fool and his money are soon elected.

/ Taglines by Taglinator - www.srtware.com /



--- End Message ---
--- Begin Message ---
"Chris" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED].;
> PHP version: 4.1.1

Version 4.1's "php.ini-recommended" file defaults to:

register_globals = Off

...an important change from earlier versions as I recall.  This will
prevent variables from being auto-created.  Use $_POST['varname'] or
$HTTP_POST_VARS['varname'], or change that value to "On" and restart
your server.

The given reason for this change was that by simply using $varname you
cannot be sure the user didn't append a GET variable to the URL,
possibly overriding your POST variable's value, or creating a value for
an internally created variable name.

 - Steve Yates
 - If only women came with pull-down menus and on-line help...

/ Taglines by Taglinator - www.srtware.com /




--- End Message ---
--- Begin Message ---
Regarding the latest security recommondations - is there a 4.1.2
compiled php version available for the win32 platform somewhere?

If so, please point me there, as I lack compiling tools right now.

-e


--- End Message ---

Reply via email to