GithubHelp home page GithubHelp logo

webdir's Introduction

#webdir

##wadir.php 基于php-aria2,需要安装aria2的支持。 简单的管理: wadir管理

支持 MP4  mp3 PDF 在线预览

wadir 底部显示磁盘信息: wadir wadir

未成功添加将会显示错误信息。

关于导入Magnet成功却从未有速度,且不显示文件名的,可能存在的问题,缺少dht.dat,参考下文中的dht.dat的处理方法 ###配置 密码:

define("PASS", "admin");

配置显示文件以及文件夹

$this->notex=array("php","js","tgz");//不允许显示的后缀名文件
$this->notdir=array("a","phpmyadmin");//不允许显示的文件夹

##wardir/ 将整个文件夹中的文件放在你的网站根目录中:

点击

详细管理>界面管理.html

即可进入原有的Yaaw,可以在上面添加种子,管理之前的下载。 [iframe大法好,惊呼!] 001 002 003

##jugg.php 该文件只用于检测你是否完成了aria2的配置,上传到你的网站根目录访问即可,如有正常的文件下载信息表示完成了aria2配置,删除该文件即可。 ##dht.dat 有些新安装aria2,可能会因为缺少dht.dat导致无法magnet下载,拷贝该文件到你的/root/.aria2/下即可 ##more.php ###简单的多用户实现 创建不同的目录每个目录都放入more.php,需要修改密码[不要设置相同的密码]

每个账户一个目录,登入后只能添加种子。 ####缺点: 1.无限制 [只能通过aria2的配置文件修改全局配置]

2.每个用户都可以看到下载列表 ####优点: 1.简单,只要PHP就够了。 ##ffmpge.php 服务器可玩,vps没用,115 牛逼..

基本界面和之前类似: ffmpeg 黄色的就是转换符号,未用到任何数据库,没有转换完成通知,调用时间根据你的设置的PHP脚本运行时间为止。 在线转码,请

disable_functions = passthru,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,exec,proc_get_status,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server

上面删去exec

已经修改脚本运行时间1000s:

max_execution_time = 1000; 

修改配置后记得重新启动php端:

服务端安装ffmpeg【windows请勿使用】 ubuntu 安装ffmpeg

sudo apt-get install ffmpeg

Vultr 5刀的转换速度:!VPS不要搞这个,你需要一颗强劲的CPU,用其他互联网的云转码也不错。 vultr 默认是webm格式的视频修改

return "<span class=\"ffmpeg  text-primary\" value=\"?video=".$file."\"><span class=\"glyphicon glyphicon-refresh\"></span></span>|<a href=\"".$file."\" ><span class=\"glyphicon glyphicon-download-alt\"></span></a>";

改变为:

return "<span class=\"ffmpeg text-primary\" value=\"?video=".$file."&type=mp4\"><span class=\"glyphicon glyphicon-refresh\"></span></span>|<a href=\"".$file."\" ><span class=\"glyphicon glyphicon-download-alt\"></span></a>";

##gbk.zip 如果中文乱码请解压使用该脚本 ##mobile.php mobile.php放在你的网站根目录并且设置好你的所在目录权限即可[可以名称为修改为index.php] 1.图标图片预览支持IE浏览器 2.手机端自动缩放 只展示该目录以下的所有文件 通过添加禁止显示文件夹以及后缀文件来控制显示 例如:

$this->notex=array("php","js","tgz");//不允许显示的后缀名文件
$this->notdir=array("a","phpmyadmin");//不允许显示的文件夹

支持在线播放mp4视频和MP3音频以及PDF在线预览; eg:http://172.82.191.216/

LNMP LAMP 一键包测试通过, windows下惨不忍睹 列表 手机端竖屏 手机端横屏 图片浏览 图片浏览 视频播放: 视频 视频

PC视图 图片: 图片 视频 视频 PDF PDF

webdir's People

Contributors

maysrp avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.