note 46664 rejected from function.tmpfile by sean
| From: | sean@php.net | Date: | Tue, 19 Oct 2004 16:53:52 +0000 |
| Subject: | note 46664 rejected from function.tmpfile by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-78774@lists.php.net to get a copy of this message | ||
Note Submitter: bens at effortlessis dot com
----
Unless I'm mistaken, this function is largely useless. You can write stuff to the temp file via
the pointer, but how could you read the contents back? Since the file disappears when the script is
done executing, it's not good for preserving state, you can't read the file later in the
same script, so it's not good for passing large amounts of data between functions.
What is an actual use of this function?