Re: is_readable() returns 1 if file is still uploading
| From: | ceo at l-i-e dot com | Date: | Mon, 12 Jan 2009 15:35:23 +0000 |
| Subject: | Re: is_readable() returns 1 if file is still uploading | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-286094@lists.php.net to get a copy of this message | ||
You should be able to fairly quickly fopen/fread/fseek/fread and compare the opening/ending XML
tags.
If it's well-formed XML, it should be trivial to detect an incomplete file versus a complete
one.