Re: FW: Which function creates files?
| From: | Tyler Longren | Date: | Sat, 01 Jul 2000 17:18:28 +0000 |
| Subject: | Re: FW: Which function creates files? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4275@lists.php.net to get a copy of this message | ||
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-general@lists.php.net>
> From: "Maxim Maletsky" <max@tocrawl.com>
> Reply-To: <max@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.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>