note 60644 deleted from features.file-upload by danbrown

From: Date: Sun, 17 May 2009 18:45:49 +0000
Subject: note 60644 deleted from features.file-upload by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-155173@lists.php.net to get a copy of this message
Note Submitter: brett dot r dot brown at gmail dot com ---- In regards to geert dot php at myrosoft dot com about having the filenames cut off if single quotes are present in the filename, I had this same problem. The solution to this, is to set magic_quotes_gpc to off. When magic_quotes_gpc is on, whenever a single quote is present in any _post data, a \ is inserted before any single quotes as an escape character. This comes in handy if you're storing the post data into mySQL, but causes problems, as you've had, when receiving an upload.

« previous php.notes (#155173) next »