Hi George, > How to use a standalone php file in the public folder that bypasses the > MVC bootstrapping, because I want to use Zend\ProgressBar adapter for > upload files.
The simplest setup could look like this. The file needs to be placed in the public folder and the framework should be installed via Composer: ----------------------------------------------------------------------- <?php use Zend\ProgressBar\Adapter\JsPull; use Zend\ProgressBar\ProgressBar; require_once '../vendor/autoload.php'; chdir(dirname(__DIR__)); $progressBar = new ProgressBar(new JsPull()); ----------------------------------------------------------------------- Thanks and best regards, Ralf -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
