Re: [PHP] using new AUTOGLOBALS

2002-04-05 Thread Philip Olson
As miguel suggests, these are just arrays. Use them like any other array: print $arr['key']; print "string {$arr['key']} string"; print 'string ' . $arr['key'] . ' string'; etc. Read about arrays and strings: http://us2.php.net/manual/en/language.types.array.php http://de.php.net/

Re: [PHP] using new AUTOGLOBALS

2002-04-05 Thread Miguel Cruz
On Fri, 5 Apr 2002, cyberskydive wrote: > So I wanna learn how to code properly with register_globals off, I reead on > PHP.net about the new auto globals and inmy new php4.1.2 windows > installation using php.ini-rec edited according to the intall.txt file, and > a few changes from books I have (

Re: [PHP] using new AUTOGLOBALS

2002-04-05 Thread Erik Price
On Friday, April 5, 2002, at 09:55 AM, cyberskydive wrote: > So I wanna learn how to code properly with register_globals off, I > reead on Good idea, it's not really harder than doing it the old way and it helps you visualize where your data is coming from. I actually prefer it this way.