how to create a file on the server
Posted 30 June 2006 - 05:46 PM
i want to create a file on the server.
i know how to write into a file, but i cant remember how to create a file with php where i can write inside.
Posted 30 June 2006 - 06:05 PM
Posted 30 June 2006 - 06:09 PM
i need to create a new file. there is no existing file where i can write into
Posted 30 June 2006 - 07:02 PM
if you write:
And something.txt doesnt exsist, it'll try to create it.
Note that the file will be created only using the modes w, w+, a and a+.
For more information, check fopen()
(Gone until 20 to November)
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users