note 103662 added to reserved.variables.files

From: Date: Tue, 26 Apr 2011 21:48:45 +0000
Subject: note 103662 added to reserved.variables.files
Groups: php.notes 
Request: Send a blank email to php-notes+get-179179@lists.php.net to get a copy of this message
Having url rewrite patterns in .htaccess file which modify your urls can affect $_FILES sometimes. Even though the php page loads and works fine, this variable may not work because of it. Therefore if you rewrite 'www.something.com' to 'something.com', make sure you use the latter one when sending POST to the php page. I'm still not sure why this happens, but its worth noting here so others don't spend time chasing ghosts. ---- Server IP: 69.147.83.197 Probable Submitter: 188.2.62.25 ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.files.php Edit -- https://master.php.net/note/edit/103662 Del: integrated -- https://master.php.net/note/delete/103662/integrated Del: useless -- https://master.php.net/note/delete/103662/useless Del: bad code -- https://master.php.net/note/delete/103662/bad+code Del: spam -- https://master.php.net/note/delete/103662/spam Del: non-english -- https://master.php.net/note/delete/103662/non-english Del: in docs -- https://master.php.net/note/delete/103662/in+docs Del: other reasons-- https://master.php.net/note/delete/103662 Reject -- https://master.php.net/note/reject/103662 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#179179) next »