R
Ryan
Guest
while ($file = readdir($dir_handle)) {
if($file == "." || $file == ".." || $file == "index.php")
continue;
//then i put my code here that applies to files other than those listed above.
________________
i want to be able to prevent all files with the extension .php is there a way to do this? the file names all vary in length. i hope this question makes sense
if($file == "." || $file == ".." || $file == "index.php")
continue;
//then i put my code here that applies to files other than those listed above.
________________
i want to be able to prevent all files with the extension .php is there a way to do this? the file names all vary in length. i hope this question makes sense