version 1.1.1.1, 2012/02/21 23:48:03
|
version 1.1.1.2, 2013/10/14 08:02:36
|
Line 19 $file_handle = fopen(__FILE__, "r");
|
Line 19 $file_handle = fopen(__FILE__, "r");
|
//directory type resource |
//directory type resource |
$dir_handle = opendir( dirname(__FILE__) ); |
$dir_handle = opendir( dirname(__FILE__) ); |
|
|
//store resources in array for comparision. | //store resources in array for comparison. |
$resources = array($file_handle, $dir_handle); |
$resources = array($file_handle, $dir_handle); |
|
|
// search for resouce type in the resource array |
// search for resouce type in the resource array |