hello all i am very new to php and am stumbling throught the learning
i have a script that list all video files into a drop down menu
what i would like to do is have the script extract thumbnails to make a menu from the thumbnails
here is the script that i use :
can this be done or am i in over my head
thanks
[php]
HOME VIDEO’S
<?php
$path = "./moviefiles";
$showForm = 1;
if(isset($_POST['Submit'])) {
$showForm = 0;
?>
<-- --> <?php } if ($showForm == 1) { //using the opendir function $dir_handle = @opendir($path) or die("Unable to open $path"); echo ''; //running the while loop echo ''; while ($file = readdir($dir_handle)) { if($file!="." && $file!="..") echo '' . $file . ''; } echo ''; //closing the directory closedir($dir_handle); echo ''; echo ''; } ?></body>
</html>[/php]