Re: [PHP] Re: Migration from register_globals=on to register_globals=off

2003-06-04 Thread CPT John W. Holmes
> yeah .. I knew it .. but it would be so very helpfull if it would be just > included in a superglobal similar to $_REQUEST ... Do it yourself, if you must: array_merge() ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Migration from register_globals=on to register_globals=off

2003-06-04 Thread Wouter van Vliet
Tuesday, June 03, 2003 12:48 PM Subject: RE: [PHP] Re: Migration from register_globals=on to register_globals=off > One little addit: > > use indeed $_GET for vars passed through the query string and $_POST to read > out postdate .. $_COOKIE for cookies, but you'll find a combinati

Re: [PHP] Re: Migration from register_globals=on to register_globals=off

2003-06-04 Thread R'twick Niceorgaw
probably because $_SESSION is a server side thing not coming from the client side in a Request ? R'twick - Original Message - From: "Wouter van Vliet" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 03, 2003 12:48 PM Subject: RE: [PHP] Re: Migr

RE: [PHP] Re: Migration from register_globals=on to register_globals=off

2003-06-04 Thread Wouter van Vliet
One little addit: use indeed $_GET for vars passed through the query string and $_POST to read out postdate .. $_COOKIE for cookies, but you'll find a combination of them all in $_REQUEST (nobody happens to know why $_SESSION is not included in that one .. or knows one that includes $_SESSION in

Re: [PHP] Re: Migration from register_globals=on to register_globals=off

2003-06-04 Thread Leif K-Brooks
Uh, just putting those variables at the top of your page won't help you. You need to do something with them. Esteban Fernández wrote: When you recivied that error ?, in a form ?, if is in a Form just put in the top of .php files this code $HTTP_GET_VARS["variable2"]; $HTTP_GET_VARS["variable3"]

Re: [PHP] Re: Migration from register_globals=on to register_globals=off

2003-06-04 Thread Leif K-Brooks
Uh, I think you mean echo $_POST['path']; and echo $_GET['path']; Jonathan Wilkes wrote: Hi, What he means is that with "register_globals=off" you cannot do this: echo $path you need to do this (if the variable is sent by "POST" action) echo _POST('path') and through "GET" echo _GET('path

RE: [PHP] Re: Migration from register_globals=on to register_globals=off

2003-06-04 Thread Jonathan Wilkes
Hi, What he means is that with "register_globals=off" you cannot do this: echo $path you need to do this (if the variable is sent by "POST" action) echo _POST('path') and through "GET" echo _GET('path') -Original Message- From: Øystein Håland [mailto:[EMAIL PR