I want to be able to simply FTP a new movie 
onto the server, and then have the menu update itself. possible? I 
would also be looking to do something similar with JPGS.

take a look at 


here is some code to help start you

echo '<select name="movies">';
if ($handle = opendir('moviesdirectory')) {

   while (false !== ($file = readdir($handle))) {
      if (preg_match("/\.mov$/i", $file)) { //the regular expression
might have to be modified to allow for the file extensions you want to
                echo "<option>$file</option>\n";

echo '</select>';

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to