View Full Version : Open Full Folder In Web Editor?
I'm looking for a code that like opens a full folder of images in a webpage, so say i got lots of say Manchester United Players and i want to add them to my webpage but i dont want to keep going to image and finding the right image, i just need a code that will open the folder in the page, without doing it 1 by 1 lol
Bit :s but yh, hope you can help
Regards,
Mark
Medyman
05-10-2008, 07:57 PM
Something that perhaps shows all images in a directory? Hmm...I wonder what will happen if I put that into Google? :p
This (http://mgccl.com/2007/04/27/script-show-all-the-images-in-a-directory) might help.
Why is this not working?
http://habboarchive.info/icon_preview.php
Code:
<?php
$handle = opendir ('/home/jxswcfi/public_html/archive/image/icons/');
while (false !== ($file = readdir($handle))) {
if($file != "." && $file != ".." && $file != basename(__FILE__)) {
echo '<img src="/home/jxswcfi/public_html/archive/image/icons/'.$file.'"/>'.$file.'';
}
}
?>
thetestingsite
05-11-2008, 02:19 PM
I don't know what you are talking about when you say that it is not working, simply because the link you provided does in fact work. If there is an issue that you are seeing that I'm not, please post what the issue is.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.