I currently have something in (pre-file-upload) Flash with _javascript_
html form hack that that submits a file to a php script. The php
script takes the filename, mimtype, size and bytes and enters them in
to a mySQL table. I have another php file that I use for fetching
those files from the table as if they were flat files on the server.
During the fetch process I reconstruct the appropriate header
information so that the browser knows what to do with the file when
it's received (e.g. if it's an office document, pdf, quicktime, swf etc
the appropriate helper application or active-x is used if it's a jpeg
it's just opened in the browser), but now I'm not getting jpegs opening
in the browser because the options the user is given is save or use
photoviewer (which is crap). Would you suggest a different way? This was developed in the old days ;-) so Flex and RIA approach probably brings a whole new perspective to this. Cheers, Phil Tom Chiverton wrote: On Tuesday 11 July 2006 15:21, Phil Marston wrote:So why's it stuck at application/octet-stream I'd like to know what files my users are uploading, but I don't want to do it by restrictingWhat business reason are you implementing ? Because it general it doesn't matter what people upload, only how you use it. -- ______________________________________________________________ Phil Marston Learning Technologist Learning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/ http://www.abdn.ac.uk/diss/ltu/ ______________________________________________________________ The University of Aberdeen Open Day 29th August 2006 Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495__._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- [flexcoders] FileReference and mimetypes Jeff Tapper
- Re: [flexcoders] FileReference and mimetypes Clint Tredway
- Re: [flexcoders] FileReference and mimetypes Jeff Tapper
- Re: [flexcoders] FileReference and mimetype... Tom Chiverton
- Re: [flexcoders] FileReference and mime... Jeff Tapper
- Re: [flexcoders] FileReference and... Tom Chiverton
- [flexcoders] Re: FileReference and mimetype... pmarstonuoa
- [flexcoders] Re: FileReference and mime... Geoffrey Williams
- Re: [flexcoders] Re: FileReference... Phil Marston
- Re: [flexcoders] Re: FileRefer... Tom Chiverton
- Re: [flexcoders] Re: FileR... Phil Marston
- Re: [flexcoders] Re: FileR... Tom Chiverton
- Re: [flexcoders] Re: FileR... Phil Marston
- Re: [flexcoders] Re: FileR... Tom Chiverton
- Re: [flexcoders] Re: FileR... Phil Marston
- Re: [flexcoders] Re: FileR... Tom Chiverton
- Re: [flexcoders] Re: FileR... Phil Marston
- Re: [flexcoders] Re: FileR... Tom Chiverton
- Re: [flexcoders] Re: FileR... Phil Marston
- Re: [flexcoders] Re: FileR... Tom Chiverton
- Re: [flexcoders] Re: FileR... Phil Marston