Re: Creating a text file
| From: | Richard Lynch | Date: | Sat, 21 Jul 2007 01:24:50 +0000 |
| Subject: | Re: Creating a text file | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-259280@lists.php.net to get a copy of this message | ||
On Thu, July 19, 2007 8:33 am, Daniel Brown wrote:
> extract($_POST);
You might as well just turn register_globals back ON (bad!) because
you've just done a work-around on $_POST that does exactly what
register_globals ON does to $_POST...
This is bad.
Don't do this.
ONLY extract the variables you EXPECT to see in POST.
In this case there were only two variables anyway...
[shrug]
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?