Re: tmpfile() errors?
| From: | Miguel Cruz | Date: | Thu, 23 May 2002 07:37:54 +0000 |
| Subject: | Re: tmpfile() errors? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98876@lists.php.net to get a copy of this message | ||
On Wed, 22 May 2002, Jas wrote:
> $tmp_image = tmpfile();
> $output = fopen($tmp_image, "wb");
tmpfile() opens the file, so you don't need the fopen call.
Just do $output = $tmpfile();
miguel