Re: Ming - php sync problem?

From: Date: Thu, 27 Jan 2005 22:14:08 +0000
Subject: Re: Ming - php sync problem?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-207534@lists.php.net to get a copy of this message
John Coppens wrote:
Hi all. I have simple page that generates a simple flash with some random images, then publishes it - on the same page. If I do this, i regularly have several kinds of problems, one of them, an error message like: getimagesize(img/topmovie/toplogo.swf): failed to open stream: No such file or directory or the size getimagesize reports isn't the correct one. If I only _call_ the swf (no generation), the message isn't there and things look more normal. Is the swf generation an asynchronous process and do I have to wait until the movie->save(xxx) finishes?
If you checked for existance of the flash file before it is created you need to call clearstatcache() to make php realize it is existing.

« previous php.general (#207534) next »