file_exists bug?
Posted: Wed Dec 02, 2009 10:40 am
$recfile = $_GET[r];
if (file_exists('CustDat/' . $recfile))
{...............
Normally works correctly but if $_GET[r] returns a null then file_exists returns True.
Seems a bit odd to me
Bob
if (file_exists('CustDat/' . $recfile))
{...............
Normally works correctly but if $_GET[r] returns a null then file_exists returns True.
Seems a bit odd to me
Bob