News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
Jani Hartikainen's Blog:
How to make a file downloadable through your script
October 10, 2008 @ 07:51:55

Jani Hartikainen has posted a quick tip for Zend Framework users out there looking to force a download from their script.

"How do I make a file downloadable through my script?" This seems to be a relatively common question on #zftalk nowadays, so here's a quick wrapup!

He compares the two ways - the usual PHP-only way of using header() calls and echoing out the file versus the more Zend Framework way - using a Response object to pull in the content, set the headers and a helper to display/render the data output.

0 comments voice your opinion now!
download file zendframework push content header



Similar Posts

Paul Jones' Blog: Sending Mail with Solar

KillerPHP.com: Zend Framework Components - Part 1

Sara Golemon's Blog: PHP4 turns 7 years old today

Zend Developer Zone: Zend Framework 1.0.3 Released

Sonspring.com: Time Sensitive CSS


Community Events







Don't see your event here?
Let us know!


zendframework mysql job framework zend database releases developer release example application security PHP5 package cakephp book code PEAR ajax conference

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework