Jump to content

File and directory management?


davej

Recommended Posts

So Php can upload a file to a directory? Read a directory listing? Create a new directory? Read a text file? Write to a text file? Delete a file? Rename a file? Delete a directory? How about move or copy a file?

 

Thanks

Link to comment
Share on other sites

yes to everything.

 

Since PHP runs on the server, it has (with appropriate permissions) the ability to manipulate the filesystem.

http://php.net/manual/en/book.filesystem.php

Edited by thescientist
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...