The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Thanks a lot for the help guys, I'm almost there. I'm now using the following code :-
Code:
// Define the full path to your folder from root $path = "./mp3"; // Open the folder $dir_handle = @opendir($path) or die("Unable to open $path"); // Loop through the files while ($file = readdir($dir_handle)) { if($file == "." || $file == ".." || $file == "index.php" ) continue; $output .= "<a href=\"$file\">$file</a><br />"; } // Close closedir($dir_handle); The link displayed is Code:
www.example.com/file.mp3 Code:
www.example.com/mp3/file.mp3 |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|