简体   繁体   English

寻找比index.html更好的索引

[英]Looking for a better index than index.html

So I have a small web server where I store my php/javascript pages. 所以我有一个小型的Web服务器,我存储我的php / javascript页面。

These pages are mainly just samples and practice files, but I am looking for a way to show previews of the pages. 这些页面主要是样本和练习文件,但我正在寻找一种方法来显示页面的预览。

Currently I use the default Apache index.html, which just provides a list of all the files in the directory. 目前我使用默认的Apache index.html,它只提供目录中所有文件的列表。

I am looking for a page that has tiles of all the web pages and providers a preview of the file. 我正在寻找一个页面,其中包含所有网页和提供商的图块以及文件的预览。

Or anything else that you may recommend as better. 或者你可能推荐的更好的其他任何东西。

Thanks 谢谢

Here's two that are close to what you want. 这里有两个接近你想要的东西。 You can probably customize them a bit. 您可以稍微自定义它们。

PHP Directory Listing Script PHP目录列表脚本

PHP Directory Listing PHP目录列表

可能有一个浏览器可以选择输出给定页面的屏幕截图,当请求索引文件时你可以在服务器上运行,但是你可能想要缓存屏幕截图

您可以使用imagegrabscreen创建页面预览http://php.net/manual/en/function.imagegrabscreen.php

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM