Does ! work as an operator to check whether handles are null or not, especially file handles ?
Linux, Apache, MySQL, PHP
3
Posts
3
Posters
0
Views
1
Watching
-
Check this code. Should it work in php?
$handle = opendir($SourceURL);
if ( !$handle )
{
closedir($handle);
return FALSE;
}
/// Doing some work with $handleThanks, Parth
-
Check this code. Should it work in php?
$handle = opendir($SourceURL);
if ( !$handle )
{
closedir($handle);
return FALSE;
}
/// Doing some work with $handleThanks, Parth
-
Check this code. Should it work in php?
$handle = opendir($SourceURL);
if ( !$handle )
{
closedir($handle);
return FALSE;
}
/// Doing some work with $handleThanks, Parth