Manage PHP Web files online

Source: Internet
Author: User
Tags file size file upload ftp ftp file php website zip advantage backup

EndTo is a network enthusiast, through efforts to finally open their own web site, but as the site grows, the Web site space files appear more and more cluttered. General FTP file management methods need to download the relevant software, can not be maintained anytime, anywhere, and service providers online management system login process cumbersome and simple. How can the Web site files be managed and maintained quickly and efficiently so that they become orderly? Now, let EndTo introduce his approach to managing Web site files from the Web interface in a PHP system environment.

Installation Settings One-Step

To manage PHP website files online, you need to use a program software called "Phpcms File Manager". This software is only up to the size of the KB and is free of charge. Its advantage is to use PHP + AJAX way to build, the client uses caching technology, reduce the burden of the server. Before using, we need to first confirm that the Web space supports session and Zend components, and PHP has a version greater than 4.10.

Then download the Phpcms File Manager main file (download address: http://down.chinaz.com/S/16681.asp), the program uncompressed after the folder "Up load" and all of the files uploaded to the PHP site space. The files that need to be sorted and the upload folder are then changed to read-write mode. The method is to log in to the Web site space in the FTP software and change the permissions attribute of these file directories to 777, which is to select the readable, writable, and executable check boxes.

Then execute the Refresh command, confirm the installation is correct, enter the file address in the browser, that is, "http://your domain name/upload/index.php", press Enter will appear after a concise program login interface (Figure 1).

Finally, use the default username and password "adm in" Login system, the program will automatically go to modify the Password page, in the Password text box, enter the default password and the new password, and then set the program in the directory, and finally click the "Submit" button.

Hint: The program directory can be set in a more covert location, such as in the two level or even more levels of the directory, to reduce the likelihood of malicious use of the software.

Bulk operation arbitrary

The File Manager program can perform almost all file management operations. It not only has a general upload, download, new, renamed files and other functions, but also provides a lot of practical other functions, you can rely on these functions to complete the management of the site maintenance.

Select the "Upload File" button in the function menu of the manager's main page to open the File upload module at the bottom of the page (Figure 2), click the "Browse" button to select Local files, and then click Upload. The file Capacity section of the program automatically displays the size of the Web site, and the file size is displayed in KB or byte two units. We can easily organize and classify the website files according to this function. Click to download hyperlinks can download the Web site files to the local hard drive, operating in the same way as ordinary download, you can also use the Thunderbolt and other download tools for high-speed downloading of files; The software also provides a powerful editor (Figure 3), Click on the edit connection will display the source code of the file, it also provides a local preview and online preview function, so that the site file debugging work becomes simple and efficient.

In practical applications, there are often multiple files that need to be modified. Click the "Add" button to open the File selection module and add more files. The software has no limit on the number of file uploads, but the more the number uploads, the slower the upload speed will be.

Tip: When the number of files is large, the program may have a transient response to the phenomenon, then just wait for its automatic recovery. If you close the browser directly, you may receive a file loss or corruption error.

Data backup Coherent

In the site maintenance, webmaster often to the Web site data backup, so as to avoid accidents caused by loss of data. The general download backup method is not only troublesome but also slow. At this point we can use the file compression function provided by the program to quickly backup the website data.
First select the check boxes in front of the Web site files that you want to back up, and then click the "Add to zip file" hyperlink, and then enter the file name in the dialog box that pops up, and be sure to enter a compressed file format with a zip suffix. After a few moments of determination, a file compression package is made. Download it, place it in a safe place to save it.

If there are problems with data loss, we can back up to make the site normal, the way is to upload the backup file to the site space, and then from the program into the file in the folder, click the zip backup file after the "decompression" button, and then select the file directory to extract, you can successfully restore the site data.

Tip: After downloading the backup files to the local, it is best to delete the backup files in the site space, so that one can release the extra space, and the other is to ensure the security of the data.

Remote download Easy and quick
  
The software provides a unique remote file download function to download files from other servers directly to the Web server. Its advantage is because both are high-speed Web servers, file transfer faster than directly from the local upload a lot faster, you can easily do the installation of Web site programs and other operations.

The method is to click the remote download feature, enter the remote file address in the module and the new file name (if you do not need to modify to skip), and finally hit the "Download" button. Note that if the file being transferred is in a compressed format, you also need to use the appropriate remote decompression tool to process the file.

Tip: If you are using an ASP type of space, you can choose the "Autumn memory file Manager" to carry out the online management of the website (download address: http://down.chinaz.com/S/18106.asp), the software installation and use methods and Phpcms file manager similar, Don't repeat it here.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.