how can I load the file names of a directory inc extensions into an array to pass to a javascript image gallery? any ideas pointers will be welcome
regards
[man]opendir[/man], [man]readdir[/man], or (if you're using PHP5) [man]scandir[/man]. PHP can output Javascript as easily (and in the same way) as HTML.