Изменяем стандартный вид директории
Вид директории на сервере Apache выглядит, так как показано на картинке выше, немного другой вид она будет иметь в браузере firefox. Откровенно говоря, это некрасиво и неудобно.
Для изменения вида мы будем использовать небольшой скрипт под названием «PHP Directory Lister», про который я расскажу ниже.
«PHPDL» прост в установке, просто закидываем этот скрипт в нашу папочку и наш интерфейс кардинально меняется.
Интерфейс PHPDL
Скрипт «PHP Directory Lister» делится на две ветки: «PHPDL» и «PHPDL lite».
«PHPDL lite» имеет минимум функций, это отображение названия, даты, размера и ссылки на скачивание.
А вот «PHPDL» может несколько больше:
- Отображение типов файлов с помощью иконок
- Предпросмотр картинок
- Прослушка аудио-файлов
- Просмотр видео-файлов
Все эти плюсы делают «PHPDL» просто невероятно удобным, по сравнению с функционалом стандартного интерфейса.
Ниже я даю ссылки на демо-версию этого скрипта для ознакомления.

Выглядит намного красивее, чем стандартное отображение.
P.S. А вы сами используйте такое отображение директорий на сервере? :)
Нет, не использую, еще не было такой надобности.
Я пишу в своем блоге только о том что мне интересно и о том, что мне пригодится, этакая записная книжка, этот пост как раз второе.
PHPDL v2 действительно неплохо выглядит
По моему, ссылка дня, спасибо!.http://ramainen.ru/download/kontakt/ — буковки не разобрать толком, а если открывать в новой вкладке, тогда порядок). Такой подход может быть полезен для фотоальбома, но для пиксельных gif нехорошо выходит.
Приятно, что картинки встроены.
Приятно увидеть действительно Хорошую идею.
Неприятны периодические траблы с кодировками (иногда автоматически путает cp1251 и юникод).
Неприятно, что картинку, лежащую в папке «скукоживает», если её открывать щелчком. График на картинке моей становится уродливым, да и через кнопку скачать неудобно както, единственный вариант — средней кнопой щёлкать, в новой вкладке открывать (вот пример двух картинок
Зато папочка скачать, для обмена файлами на скору руку — аналог страницы загрузки с сайта — теперь красиво выглядит, спасибо.
Скрипт хороший и полезный. Но если у вас большой файловый архив лучше сделать web интерфейс. Хотя бы ради описаний к файлам, пользоваться будет удобнее, да и поисковики смогут проиндексировать. А если архив популярный, то и рекламу установить можно.
А там есть авторизация?
Нет. Ну ее в принципе не очень сложно добавить.
действиетльно крутая штука, нужно попробовать
а ещё есть вот такой вариант –http://userstyles.org/styles/210
А можно про авторизацию подробней? Или все делается через хтаксес?
Классно, уже второй пост на который нарываюсь связанный с украшательством. Спасибо. В мемориз
2 Анна
Хорошая у вас домашняя страничка =)
идею если только развить до файл манагера =)
а так идея берет чем-то своим.
аналогичное –http://apachedev.ru/2007/10/12/ukrashaem-listing-kataloga-v-apache/
Спасибо
а для папок FTP я так понял он работать не будет, если будет то подскажите как настроить, на сайте не нашел инфы.
Автору огромная благодарность!!! Перерыл кучу сайтов, не мог найти решение
Wow, fantastic weblog structure! The length of time are you blogging for? you’re making blogging and site-building appear simple. The entire seem of the website is excellent, as well as the articles!…
I simply want to say I’m new to blogging and definitely loved this web-site. Likely I’m likely to bookmark your blog post . You certainly have terrific article content. Thanks a lot for sharing with us your website.
Neat article. Looking forward to the follow up …
Hello! Do you use Twitter? I’d like to follow you if that would be okay. I’m undoubtedly enjoying your blog and look forward to new posts.
Like them a lot. Think I’ll put in Christmas and early Birthday requests.
I appreciate your work , thanks for all the interesting posts .
You ought to experience a contest personally of the finest blogs on-line. I’m going to suggest this page!
Hey There. I discovered your blog the usage of msn. That is a really well written article. I will make sure to bookmark it and come back to learn more of your useful info. Thank you for the post. I will definitely comeback.
I am very happy to read this. This is the type of manual that needs to be given and not the accidental misinformation that’s at the other blogs. Appreciate your sharing this best doc.
I merely wanted to thank you yet again for your amazing web page you have built here. It really is full of useful tips for those who are actually interested in this kind of subject, in particular this very post. You really are all so sweet as well as thoughtful of others as well as reading the blog posts is a good delight with me. And thats a generous reward! Jeff and I usually have pleasure making use of your tips in what we have to do in a month’s time. Our checklist is a mile long which means your tips will certainly be put to very good use.
Woh I love your articles , bookmarked ! .
quite handy article. Thanks once again.enjoy the blog site. incredibly helpful. sincerly, Kristine, Template-Package.com, 145 Bosepukur Purbapara, Kolkata, WB 700078, India 9748001647
Hello. splendid job. I did not imagine this. This is a great story. Thanks!
Great write-up, I am regular visitor of one’s website, maintain up the excellent operate, and It is going to be a regular visitor for a long time. «Our opinions do not really blossom into fruition until we have expressed them to someone else.» by Mark Twain.
Only a smiling visitant here to share the love (:, btw outstanding design. «Everything should be made as simple as possible, but not one bit simpler.» by Albert Einstein.
This is very interesting, You’re a very skilled blogger. I’ve joined your feed and look forward to seeking more of your magnificent post. Also, I’ve shared your web site in my social networks!
Wow I really like those. If I passed those in a department store I would probably stop and look at them
you’re truly a just right webmaster. The web site loading velocity is incredible. It sort of feels that you’re doing any distinctive trick. Furthermore, The contents are masterpiece. you have performed a great process on this matter!
Aw, this was a truly nice post. In concept I wish to put in writing like this furthermore – taking time and actual effort to make an exceptional article… nevertheless what can I say… I procrastinate alot and not at all appear to get something done.
I like the valuable information you provide in your articles. I will bookmark your weblog and check again here frequently. I am quite certain I’ll learn a lot of new stuff right here! Best of luck for the next!
When I originally commented I clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I get four emails with the same comment. Is there any way you can remove me from that service? Thanks!
Keep up the wonderful work , I read few content on this website and I think that your web blog is real interesting and has got lots of wonderful info .
You’ll want to purchase a specialist decides your own ringing ears when you start the treatment of them. Most of the ringing in the ears can certainly be an indication of more serious difficulties. Moreover, when the medical diagnosis isn’t really ears ringing, then you will want to help treat as well as address it inside a distinct way when compared with you will tinnitus. Many individuals who may have ringing in the ears obtain respite from its condition by employing appear treatments. You will find a straightforward test that you may concept if perhaps seem treatment will help you take care of the ringing in ears. Tune your r / c involving a couple channels. You should hear any static audio if you have tuned it concerning programs. In case the plain-ole audio with the airwaves markers the ringing in the ears and also makes it significantly less visible (in some measure hides the idea), next good treatment may aid your condition.
I simply want to mention I am just beginner to blogging and absolutely enjoyed your web-site. Most likely I’m want to bookmark your blog . You really have superb stories. Thanks for sharing your blog.
I really like forgathering useful information , this post has got me even more info! .
I got what you mean , regards for putting up.Woh I am lucky to find this website through google. «Being intelligent is not a felony, but most societies evaluate it as at least a misdemeanor.» by Lazarus Long.
Thank you for providing this unique superb created subject material in your web page. I seen it online. I will verify back again after you publish significantly more aricles.
Hello, Neat post. There’s an issue along with your site in internet explorer, might check this… IE still is the market leader and a huge component of folks will pass over your fantastic writing due to this problem.
Hello there, just became alert to your blog through Google, and found that it is really informative. I am going to watch out for brussels. I’ll be grateful if you continue this in future. Numerous people will be benefited from your writing. Cheers!
I just want to mention I am just newbie to weblog and truly enjoyed this web page. Probably I’m going to bookmark your site . You actually come with outstanding well written articles. Many thanks for sharing with us your website.
Once I initially commented I clicked the -Notify me when new feedback are added- checkbox and now every time a comment is added I get 4 emails with the same comment. Is there any approach you may remove me from that service? Thanks!
olá amigos, realmente um torpedo web site grátis está cada vez mais custoso devido ao bloqueio das operadoras móveis. Há ainda serviços de terceiros (web-sites) que prometem entregar minha menssagem mas quase nunca chegam ao usuário final. Alguns como o Mundo oi e o Oi Torpedo funcionam mas e para as outras operadoras? E os que dizem que mandam e nada chega. Para onde está indo as as minhas menssagens? E para a Tim, Vivo? Alguma Idéia? Ou significa ter de pagar?. É só um desabafo, realmente está difÃcil achar bons web-sites para enviar SMS barato.
I generally cant discover it in me to care enough to leaves a comment for articles on the web but this was actually pretty good, thanks and maintain it up, Ill check back once more