Something like this maybe:
$open = fopen("/path/to/file.txt", "w+");
$put = fputs("$open", "text you want in the file");
fclose("$open");
???
On Sun, 2 Jul 2000, Maxim Maletsky wrote:
Date: Sun, 2 Jul 2000 01:58:50 +0900
To: "php list" <php-...@lists.php.net>
From: "Maxim Maletsky" <ma...@tocrawl.com>
Reply-To: <ma...@tocrawl.com>
Subject: [PHP] FW: Which function creates files?
I'm thinking to create a file engine that will build (create) files
basing
on data stored in MySQL database,
while searching php.net I haven't found any function that writes or
better
say creates and names files for you.
Could anyone give a tip on this?
I'm using php4.