Re: [PHP] 4.10 New Vars Question

2001-12-26 Thread Edward Marczak

On 12/26/01 1:39 AM, Philip Olson [EMAIL PROTECTED] wrote:

 hmm, now that i\'m trying to program with register_globals=off, what
 is the new $HTTP_SESSION_VARS?
 
 $HTTP_SESSION_VARS works, as will $_SESSION (after 4.1.0).  These
 special PHP variables are described in the manual:

[snip]

I'll check that out.  Thanks!
-- 
Ed Marczak
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] 4.10 New Vars Question

2001-12-25 Thread Philip Olson

because they are not documented yet, but, will be.  there really is
nothing else to say besides what you quoted, they act like their
counterparts except these new ones are global.

by counterparts i mean _GET == HTTP_GET_VARS so the manual entries on
those will apply.  see the predefined variables section of manual and
phpinfo().

regards,
Philip Olson


On Tue, 25 Dec 2001, Edward Marczak wrote:

 Hello!
 
 Two items in the new 4.10 change-log caught my attention:
 
 *Introduced a new $_REQUEST array, which includes any GET, POST or
 COOKIE variables. Like the other new variables, this variable is also
 available regardless of the context. (Andi  Zeev)
 *Introduced $_GET, $_POST, $_COOKIE, $_SERVER and $_ENV variables, which
 deprecate the old $HTTP_*_VARS arrays. In addition to be much shorter to
 type - these variables are also available regardless of the scope, and
 there's no need to import them using the 'global' statement. (Andi  Zeev)
 
 However, I can't seem to find any documentation regarding these variables on
 the php.net site.  Any pointers?  Am I missing something obvious?  Thanks!
 
 -- 
 Ed Marczak
 [EMAIL PROTECTED]
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: Re: [PHP] 4.10 New Vars Question

2001-12-25 Thread David

 hmm, now that i\'m trying to program with register_globals=off, what is the new 
$HTTP_SESSION_VARS?

maybe there should be a page in the online manual describing these new variables for 
easy reference after all, i can\'t find reference to them other than those on the 
changelog too.

thanks
David

Two items in the new 4.10 change-log caught my attention: 

* Introduced a new $_REQUEST array, which includes any GET, POST or 
COOKIE variables. Like the other new variables, this variable is also 
available regardless of the context. (Andi  Zeev) 
* Introduced $_GET, $_POST, $_COOKIE, $_SERVER and $_ENV variables, which 
deprecate the old $HTTP_*_VARS arrays. In addition to be much shorter to type - 
these variables are also available regardless of the scope, and there\'s no need to 
import them using the \'global\' statement. (Andi  Zeev) 

However, I can\'t seem to find any documentation regarding these variables on the 
php.net site. Any pointers? Am I missing something obvious? Thanks! 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: Re: [PHP] 4.10 New Vars Question

2001-12-25 Thread Philip Olson

 hmm, now that i\'m trying to program with register_globals=off, what
 is the new $HTTP_SESSION_VARS?

$HTTP_SESSION_VARS works, as will $_SESSION (after 4.1.0).  These
special PHP variables are described in the manual:

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

Some words specific to $_SESSION are available within here:

  http://www.php.net/release_4_1_0.php

An excerpt:


Another neat trick is that creating new entries in the $_SESSION array
will automatically register them as session variables, as if you called
session_register(). This trick is limited to the session module only - for
example, setting new entries in $_ENV will *not* perform an implicit
putenv().

 
 maybe there should be a page in the online manual describing these new 
 variables for easy reference after all, i can\'t find reference to
 them other than those on the changelog too.

The new vars will be listed and described in the manual eventually (fairly
soon).  For now, read the above release notes.


Regards,
Philip Olson


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: Re: Re: [PHP] 4.10 New Vars Question

2001-12-25 Thread David

 ok, thanks Phillips!

The new vars will be listed and described in the manual eventually (fairly soon). 
For now, read the above release notes. 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] 4.10

2001-12-18 Thread Brian Clark

* Mark ([EMAIL PROTECTED]) [Dec 18. 2001 17:44]:

 Hi, I'm trying to build php 4.10 with Ming support.
 (the ming I get from cvs that is supposed to work with 4.10)

[...]

 Configuring libtool
 checking build system type... i686-pc-linux-gnu
 checking for ld used by GCC... /usr/bin/ld
 checking if the linker (/usr/bin/ld) is GNU ld... yes
 checking for BSD-compatible nm... /usr/bin/nm -B
 updating cache ./config.cache
 ./ltconfig: ./ltconfig: No such file or directory
 configure: error: libtool configure failed

See:

http://marc.theaimsgroup.com/?l=php-devm=98968922501296w=2

-- 
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
$ mount -t neuro /dev/brain /mnt/head


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] 4.10

2001-12-18 Thread Mark

On Tue, 18 Dec 2001 19:11:02 -0500, Brian Clark wrote:
* Mark ([EMAIL PROTECTED]) [Dec 18. 2001 17:44]:

 Hi, I'm trying to build php 4.10 with Ming support.
 (the ming I get from cvs that is supposed to work with 4.10)

[...]

 Configuring libtool
 checking build system type... i686-pc-linux-gnu
 checking for ld used by GCC... /usr/bin/ld
 checking if the linker (/usr/bin/ld) is GNU ld... yes
 checking for BSD-compatible nm... /usr/bin/nm -B
 updating cache ./config.cache
 ./ltconfig: ./ltconfig: No such file or directory
 configure: error: libtool configure failed

See:

http://marc.theaimsgroup.com/?l=php-devm=98968922501296w=2

Thanks Brian,
I tried that suggestion but it didn't work for me. I really wish I
didn't update libtool because configure was working fine before that.
Maybe I'll try to go back.

o- Mark


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]