On Sat, 2009-01-10 at 19:22 +0100, Merlin Morgenstern wrote: > 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. You could skip any file that's been updated within the last 10 seconds. See the filemtime() function. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php