03-19-2009, 11:12 AM
|
#5 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
|
Sounds like file_put_contents could help you.
PHP Code:
file_put_contents('filename.txt', 'file contents...');
Why create your own function when the language itself provides you with one? I just don't see the point, unless you want to append to an existing file.
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
|
|
|
|