On Mon, 8 Apr 2002, Phil Schwarzmann wrote:
> $filename = "hello.txt";
> $outputstring = "hello";
>
> fwrite($filename, $outputstring);
http://php.net/fwrite
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you are missing fopen() before calling fwrite()
- Original Message -
From: "Phil Schwarzmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 08, 2002 1:50 PM
Subject: [PHP] fwrite() - problems
> I have a large string that I want to written to a new file.
>
> Let's
$fp = fopen($filename, "w");
fwrite($fp, $outputstring);
READ THE DOCS
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 12:51 PM
To: [EMAIL PROTECTED]
Subject: [PHP] fwrite() - problems
I have a large string that I want to written t
3 matches
Mail list logo