Currently developping a mobile webmail for my school, I am encountering the iPhone problem : iPhone users are enable to download files, so I would like to allow them, at least, to consult their files with the common extensions : doc, docx, xls, xlsx, pdf, ppt, pptx, XML, open office files, an so on.
Does something exist to do that using PHP or HTML/Javascript ?
You could use google doc’s viewer: http://docs.google.com/viewer
This will allow you to display all of these formats directly in the browser.
Basically you just have to do this to display a document:
(Note that google docs must have access to these documents, which may or may not make this solution unsuitable.)