Hi i have a serious problem,
My sript receive $path by POST method when starting
$path=$_POST['path'];
[well, $path is a correct folder on my computer.]
and then if i try theses functions :
echo is_string($path); the result is 0 (bad) and
$handle = opendir($path); make an error (path is not a folder).
but
echo "<br> my path is :".$path; return the value wich is good :
C:\phpdev\www\public\viruscan
And when i become crazy, it is when i put on the top off my sript
the following instruction :
$path="C:\phpdev\www\public\viruscan";
The sript works fine....
So i don't understand where is the problem. I think there is a mistake, but where ?
thanks for your help guys!