is_readable() returns 1 if file is still uploading

From: Date: Sat, 10 Jan 2009 18:22:01 +0000
Subject: is_readable() returns 1 if file is still uploading
Groups: php.general 
Request: Send a blank email to php-general+get-285971@lists.php.net to get a copy of this message
Hi there, I am importing data out of xml files on a linux server. Now I am running into problems if the file is currently beeing uploaded and the upload has not finished to the server. Is there a function which returns true if the file is complete and not in upload status? I tried is_readable(), but this only returns false if the file is missing. This is the error msg from php: parser error : Premature end of data thank you for any help. regards, merlin

« previous php.general (#285971) next »