Ok, So here is the deal, I have around 300 flash files in a folder. Instead of just going into the directory and clicking on them individually. Is there a way to automatically create a webpage (doesn't matter type of code) that links to each file individually in a list?
If this is possible help me out because I don't wanna get stuck doing each one individually.
If they have sequenced names then you could write a small routine to load them automatically.
You can create list of files in a directory automatically and put this list in a drop down list box.
__________________
Gary Molton - Engineering Adventures Ltd
<?php /** * Change the path to your folder. * * This must be the full path from the root of your * web space. If you're not sure what it is, ask your host. * * Name this file index.php and place in the directory. */
// Define the full path to your folder from root $path = "CHANGE THIS TO YOUR PATH";
// Open the folder $dir_handle = @opendir($path) or die("Unable to open $path");
// Start the ordered list echo "<ol>";
// Loop through the files while ($file = readdir($dir_handle)) {
You can use javascript also.
Make two arrays of same length. One with display text, another with actual filenames.
Then loop through them to show on the page. Its not dynamic though. php was a better solution for that.
If you need help on coding let me know.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?