⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.htm

📁 一款文件上传程序
💻 HTM
字号:
<html>
<body>
<h1>1. Create a MySQL database.</h1>
<p>
	If you're on shared hosting, your host should have provided you with some kind of site administration tool like Cpanel. If you have
	Cpanel, there is an icon called MySQL, use it to create a database. Make sure that the permission is set to ALL. If you have access to
	the MySQL console, type in: <strong>CREATE DATABASE xxx</strong> where xxx is the database name. I recommend you name the database "uploader".
	<br /><br /><img src="step1.gif" alt="step1" />
</p>

<h1>2. Updating files</h1>
<p>
	Extract everything in the uploader zip file to a temporary directory.<br />
	Open configs.inc.php in the "includes" directory. Enter the MySQL info in the indicated locations.
	There are other settings in this file, look through all of them. Save and exit when you're done.<br />
	Upload <strong>everything</strong> in "includes" to the "includes" directory on your server.<br />
	Upload all <strong>FILES ONLY</strong> in the "data" directory to the "data" directory on your server.<br />
	Upload <strong>data/settings/pub_settings.php</strong> to <strong>data/settings/</strong> on your server.<br />
	Upload <strong>everything</strong> in the "templates" directory to the "templates" directory on your server. It's quicker
	if you delete the "templates" directory on your server and upload the local "templates" directory.<br />
	Upload all <strong>FILES ONLY</strong> (skip install.php because you are updating) in the root directory (where myfiles.php, index.php, etc... are located) to your server, overwritting the existing files.<br />
	Try to access the uploader, it should inform you that "Site update in progress, please try again in a few hours." If you do not see this message, check that
	you have followed everything mentioned here.<br />
	Finally, copy the contents of data/userfiles_htaccess.txt to the .htaccess file found in the userfiles directory.
</p>

<h1>3. Running the update script</h1>
<p>
	Run update.php, it will ask you to proceed. The process will take a while, about 5 to 10 seconds for every 500 users. Once it's done, delete
	update.php from your server and everything should be running.
	</p>

	<h1>4. Configuring the public uploader.</h1>
	<p>
	Create a directory where public files will be stored. The default directory is "public" but you can specify a different directory. Be sure
	to CHMOD it to 0777 or 0666. The public uploader settings can be found under the Settings menu in the Admin section. All instructions are there.
	<br /><br />
	Copy the contents of data/publicfiles_htaccess.txt to the public directory and rename it to ".htaccess" without the quotes.
	There is an option to disable image hotlinking, read the htaccess file for instructions. Once you're done configuring the public uploader,
	try to upload some files.
	<br />
</p>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -