sorry about msg you twice!
so I read the filename, insert into table ...
but do I use a while loop to check if there are any more files left in the directory?
I viewed the xamples ...
<pre>
$path = "/home/web_site/www/my_dir";
chdir($path);
$main = opendir($path);
while($file = readdir($main)) {
... statements ...
}
closedir($main);
</pre>
does that seem to work?
Thanks again!