The Artima Developer Community
Sponsored Link

PHP Buzz Forum
ONLamp.com: Allowing Registration-Required Binary Downloads

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Aaron Wormus

Posts: 250
Nickname: awormus
Registered: Sep, 2004

Aaron Wormus is too tired to think of anything clever.
ONLamp.com: Allowing Registration-Required Binary Downloads Posted: Oct 23, 2004 10:35 AM
Reply to this message Reply

This post originated from an RSS feed registered with PHP Buzz by Aaron Wormus.
Original Post: ONLamp.com: Allowing Registration-Required Binary Downloads
Feed Title: PHP @ What's the Story?
Feed URL: http://www.wormus.com/aaron/stories/category/php/feed
Feed Description: no tagline... keep moving!
Latest PHP Buzz Posts
Latest PHP Buzz Posts by Aaron Wormus
Latest Posts From PHP @ What's the Story?

Advertisement
ONLamp.com: Allowing Registration-Required Binary Downloads … something that can be done very simply with PEAR::HTTP_Download [code] $dl = &new HTTP_Download(); $dl->setFile(’../hidden/download.tgz’); $dl->setContentDisposition(HTTP_DOWNLOAD_ATTACHMENT, ‘latest.tgz’); $dl->setContentType(’application/x-gzip’); $dl->send(); This will send the zipped files latest.tgz, in the example of course you or you can name that file what you like. You can also send arbritrary data (from the db) and throttle ...

Read: ONLamp.com: Allowing Registration-Required Binary Downloads

Topic: Mojavi 3.0.0-DEV Previous Topic   Next Topic Topic: 1f Scheduled for the Zend PHP Exam 11

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use