PHP Classes

feature request: Display directly to browser

Recommend this page to a friend!

      class.upload.php  >  All threads  >  feature request: Display directly to...  >  (Un) Subscribe thread alerts  
Subject:feature request: Display directly to...
Summary:It would be nice that this class had this feature.
Messages:2
Author:Chris Smith
Date:2006-04-15 08:41:24
Update:2006-05-21 12:19:02
 

  1. feature request: Display directly to...   Reply   Report abuse  
Picture of Chris Smith Chris Smith - 2006-04-15 08:41:24
So it will be cool feature to integrate this into the class, eg.:

header ( 'Content-type: ' . $this->dest_type );
$result = @imagejpeg ($image_dst, '', $this->jpeg_quality);

It can be cool, when we want to serve images to display from local files outside from the htdocs-dir ...
Thanks for this class ...

  2. Re: feature request: Display directly to...   Reply   Report abuse  
Picture of Colin Verot Colin Verot - 2006-05-21 12:19:02 - In reply to message 1 from Chris Smith
This is a good idea, although the class really is supposed to store uploaded files, not deliver them.

I might implement it is a future release.

Thanks.