preview site for fix and fresh
This commit is contained in:
1 parent
b19fdee30d
commit
f70adf2a5e
1228 files changed
+38196
-149050
No files matched your search
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
if ($dir = opendir($_POST['path'])) {
|
||||
while (false !== ($file = readdir($dir))) {
|
||||
$len=strlen($file);
|
||||
if($len > 0){
|
||||
if (preg_match("/.(jpg|png)$/i", $file)) {
|
||||
echo "$file;";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in new issue
Block a user