Page 1 of 1

how can you create a new file using php?

Posted: Wed Jun 14, 2006 6:59 am
by itsmani1
for creating a new directory i am using

mkdir("xyz");

what can i use if i want to create a file like abc.html, or abc.htm or abc.php or abc.css etc.

2ndly can i rename a folder? if i can : which function will do it?
can i delete a file or folder ? if i can : which function will do this?

Posted: Wed Jun 14, 2006 7:32 am
by twigletmac
All that you seek can be found here: The Manual - Filesystem Functions

Mac