Re: flash/php file uploader

From: Date: Tue, 12 Dec 2006 00:22:19 +0000
Subject: Re: flash/php file uploader
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-245724@lists.php.net to get a copy of this message
Brad Fuller wrote:
-----Original Message----- Hi Sorry if this is considered off topic, but do you know of any code examples/libs with a flash/php file uploader with progress bar? I've googled for a while but the scripts I find won't work. I'm using Firefox 2 and Flash player 9 on an intel Mac if that tells you anything? Or should I ask somewhere else? Thanks for your time. Emil
The problem with having a "real" progress bar with PHP is that by default PHP does not have a callback function so you won't know the status of the uploaded file until it's complete.
PHP5.2.0 has this built in, see changelog: http://www.php.net/ChangeLog-5.php#5.2.0 and an example Rasmus previously posted: http://marc.theaimsgroup.com/?l=php-general&m=116265912901212&w=2 It's still ajax but the hooks are now built into php rather than an external unsupported patch. -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#245724) next »