preview site for fix and fresh
This commit is contained in:
@@ -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