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

2003-06-04 Thread Jonathan Wilkes
PROTECTED] Sent: 03 June 2003 17:02 To: [EMAIL PROTECTED] Subject: [PHP] Re: Migration from register_globals=on to register_globals=off I'm not sure what you mean. To give ONE example: Earlier I could use this code on top of every page: if ($printout != yeah) { include(header.php); } This code gives

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

2003-06-04 Thread Leif K-Brooks
') -Original Message- From: Xystein Heland [mailto:[EMAIL PROTECTED] Sent: 03 June 2003 17:02 To: [EMAIL PROTECTED] Subject: [PHP] Re: Migration from register_globals=on to register_globals=off I'm not sure what you mean. To give ONE example: Earlier I could use this code on top of every page

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 Wouter van Vliet
in it..?) Wouter -Oorspronkelijk bericht- Van: Øystein Håland [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 3 juni 2003 18:45 Aan: [EMAIL PROTECTED] Onderwerp: [PHP] Re: Migration from register_globals=on to register_globals=off I tried changing my code to (since the variable $printout

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

2003-06-04 Thread R'twick Niceorgaw
that includes $_SESSION in it..?) Wouter -Oorspronkelijk bericht- Van: Øystein Håland [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 3 juni 2003 18:45 Aan: [EMAIL PROTECTED] Onderwerp: [PHP] Re: Migration from register_globals=on to register_globals=off I tried changing my code

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

2003-06-04 Thread Wouter van Vliet
: 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 combination of them all in $_REQUEST (nobody happens to know why

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