neurofuzzy, flash game development, rich internet applications, free source code - *alt.neurotica.fuzzy*

neurofuzzy, flash game development, rich internet applications, free source code - *alt.neurotica.fuzzy*

4/24/2006

Safari, PHP, and File Uploads

Filed under: PHP — geoff @ 10:29 am

Okay, so I’ve searched the web high and low and have been unable to find a solution for found a solution for this problem. (There may be a solution at “experts exchange”, but I refuse to pay to see their “solution”.) I’ve got an image upload form on my site… a typical web form. It works fine in all browsers except Safari. In Safari, the upload quits immediately, and the form handler says nothing was submitted.

I think this is a problem with the way Safari submits multipart form data. PHP can’t handle it and pukes. I see a lot of posts out there about this… people are complaining that this doesn’t work, however I see nothing on Apple’s site, nor any actual solutions posted.

Safari uploads fine on Flickr, and there’s nothing special about the way they coded their form on the front-end. They are using CGI (perl?) on the backend, though. Has anyone run into this problem, and found a solution? Oh, and if you post it, I promise not to make people pay to see it. ;)

 

Powered by WordPress