This topic is locked

File upload/download enhancement

5/1/2008 7:58:29 AM
PHPRunner General questions
S
steveh author

In a handwritten php application we currently handle file uploads and downloads into a database which works fine.
However, trying to move this to phprunner I'm missing the ability to specify the mimetype, a useful enhancement to the upload/download would be to be able to specify a field to hold the mimetype, in that way the file can be served back more easily in its original format.
For backward compatibility you could leave the option to not have the field and provide the same mimetype as you do today?

S
steveh author 5/1/2008

Having looked at the generated code I see that currently the mimetype is derived from the extension so this is what would ideally be overridden.