Jason wrote:

> I wrote a script that clients can upload files to our server and
> download files but there is one small problem.  Mac users can't
> upload all of their files. I am guess there is no file extensions.
> Anyone have any ideas?
> Jason

Well, in Mac, there are indeed no mandatory file extensions. The file 
type is kept in a record in the filesystem, as four bytes of 
information. This information is not passed along as the file is 

However, the file upload mechanism requires that the browser should 
send the MIME type of the uploaded file. This information is 
available to PHP, and, depending on the fidelity of the browsers your 
users use, it can give you useful information.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to