<input type=file name=file>
<input type=text name=name>
$fl = $_FILES['file'];
$fname = unesc($fl['name']);
if (!empty($_POST['name']))
$othername = unesc($_POST['name']);
If the name is My Computer's Performance,
it returns: My Computer's Performance
but the problem is:
if the file is: My Computer's Performance
and name is blank, it returns: s Performance
Please someone help me with this.
EDIT: It was working with apache, but now that I moved to IIS7, it's not working.