Uploadify Jquery pugin file name with single quotes issue
Posted: Tue Apr 13, 2010 5:44 am
Hi,
I am using Uploadify JQuery plugin to upload file.
I am struggling to upload file having special characters inside file name especially single quotes. when submitting file having single quote inside; file name on server side in $_FILE array, I m receiving file name portion above the single quote.
For e.g. (original file name) abc'xyz.jpg ,on server side I m receiving xyz.jpg only.
Please guide me to rectify problem
if (!empty($_FILES)) {
$file_name = $_FILES['Filedata']['name'];
echo $file_name;// outputs xyz.jpg
Version i am using -> jquery.uploadify-v2.1.0 (MIT)
I am using Uploadify JQuery plugin to upload file.
I am struggling to upload file having special characters inside file name especially single quotes. when submitting file having single quote inside; file name on server side in $_FILE array, I m receiving file name portion above the single quote.
For e.g. (original file name) abc'xyz.jpg ,on server side I m receiving xyz.jpg only.
Please guide me to rectify problem
if (!empty($_FILES)) {
$file_name = $_FILES['Filedata']['name'];
echo $file_name;// outputs xyz.jpg
Version i am using -> jquery.uploadify-v2.1.0 (MIT)