Totally do-able using the HTML 5 Javascript File API (won't work in IE 

you can use the file object in the postBody option and that will upload the 
file to your php script through the php://input stream - use $_GET 
parameters for the rest of the information you want to post

to solve the IE problem chromeframe is a good solution as well

I can post an example if you need


On Sunday, April 22, 2012 4:54:45 PM UTC-7, nottobefound wrote:
> Hi all, 
> Quick question. 
> I been trying to get a file to upload to  a server via a form ( works 
> great in straight html calling a php program ) using a  prototype ajax 
> request.  I  don't think it can be done and I have tried various 
> ways.    If I am wrong and  could some one point me in the right 
> directions. 
> Thanks 
> -- 
> EdenStreet Consulting 
> w:978-741-7518 
> c:978-821-1309 
> Twitter: martyateden 
> Skype: martyateden 

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to