Menu
Hi,
I’m trying to retrieve a reference to a file name that contains an ampersand. The problem is, using $_REQUEST ignores everything after the ampersand, and as a result I cannot achieve a reference to the file I am looking for,
For example, I’m trying to retrieve ‘Monday & Tuesday.xls’, but all I am getting is ‘Monday’.
This is the code I am using, this is always failing as the filename is just read as ‘Monday’. Does anyone know how to get around this?
Thanks
[code]
if ($_REQUEST[‘filename’] == “Monday & Tuesday.xls”)
{
echo (“File found!”);
}