Re: [PHP] Creating local vars from HTTP Post Array

2003-10-17 Thread David Otton
On Fri, 17 Oct 2003 10:11:57 +, you wrote: >I'm re-coding a fairly large multi step form which was written with PHP's >register globals turned on. Since upgrading PHP this form has stopped >working and needs editting. > >Rather than manually changing each var - > >$foo to$_POST['foo']

Re: [PHP] Creating local vars from HTTP Post Array

2003-10-17 Thread Nick JORDAN
> Rather than manually changing each var - > $foo to$_POST['foo'] > (there are simply too many) Why not simply use Find and Replace in a text editor, if you only need to change one form? Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

[PHP] Creating local vars from HTTP Post Array

2003-10-17 Thread Javier .
I'm re-coding a fairly large multi step form which was written with PHP's register globals turned on. Since upgrading PHP this form has stopped working and needs editting. Rather than manually changing each var - $foo to$_POST['foo'] (there are simply too many) i'd like to do something