Re[2]: [PHP] asking comment
| From: | Richard Davey | Date: | Wed, 30 Mar 2005 15:27:17 +0000 |
| Subject: | Re[2]: [PHP] asking comment | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-211880@lists.php.net to get a copy of this message | ||
Hello Jared,
Wednesday, March 30, 2005, 4:16:31 PM, you wrote:
JW> If want to create a unique filename, and are using PHP4.3.2
JW> or better, use fopen() with the 'x' or 'x+' mode, rather than
JW> file_exists().
If you're happy with your scripts generating E_WARNING's all over the
place then yes. Personally, I'm not.
Best regards,
Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I do not fear computers. I fear the lack of them." - Isaac Asimov