Php file operations

Source: Internet
Author: User
Php file operation details (2) create a directory & amp; nbsp; mkdir (& amp; quot ;. aa & amp; quot;); delete directory & amp; nbsp; the directory must be empty before deleting & amp; nbsp; rmdir (& amp; quot ;. img & amp; quot;); move the directory file & amp; nbsp; rename (& amp; quot ;. img & amp; quot;, & amp; quot ;. ajaximg & amp; quot;); create a php file (2) // create a directory mkdir (". /aa "); // The directory to be deleted must be empty before rmdir (". /img "); // Move the directory file rename (". /img ",". /ajax/img "); // create a file touch (". /11.txt"); // copy the file copy (". /11.txt ",". /ajax/11.txt"); // delete the file unlink (". /11.txt"); // read the file content (local, remote) echo file_ge

1. php file operations (2)

Introduction: PHP file operations

10. php file operations

Introduction: This article mainly introduces PHP file operations. For more information about PHP tutorials, see.

[Related Q & A recommendations ]:

The above is a detailed description of PHP file operations. For more information, see other related articles in the first PHP community!

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.