note 79969 added to features.file-upload

From: Date: Fri, 21 Dec 2007 13:18:08 +0000
Subject: note 79969 added to features.file-upload
Groups: php.notes 
Request: Send a blank email to php-notes+get-133846@lists.php.net to get a copy of this message
thomas at thoftware dot de: Why would you do that? If a scripter can't access the $_FILES array normally, what business have they allowing files to be uploaded anyway? Polluting the global symbol table with user supplied data is very poor practice and it is the reason register_globals if off by default in PHP 5 and is being removed altogether from PHP 6. Why are you using PHP 4 still anyway? If you can't get your scripts to run in PHP 5, you should hire someone to convert them for you and observe the new patterns in the code so you can work in the present and maybe the future instead of using these old methods that are being removed. ---- Server IP: 66.207.199.35 Probable Submitter: 142.59.78.134 ---- Manual Page -- http://www.php.net/manual/en/features.file-upload.php Edit -- https://master.php.net/note/edit/79969 Del: integrated -- https://master.php.net/note/delete/79969/integrated Del: useless -- https://master.php.net/note/delete/79969/useless Del: bad code -- https://master.php.net/note/delete/79969/bad+code Del: spam -- https://master.php.net/note/delete/79969/spam Del: non-english -- https://master.php.net/note/delete/79969/non-english Del: in docs -- https://master.php.net/note/delete/79969/in+docs Del: other reasons-- https://master.php.net/note/delete/79969 Reject -- https://master.php.net/note/reject/79969 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#133846) next »