| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Member Join Date: Jun 2005 Location: Hat Yai, Thailand
Posts: 165
![]() | AJAX file uploads Hey y'all I am working on some upload section for a AJAX app and I am experiencing some difficulties keeping it all asynchronous when it comes to file uploads. The XMLHTTPRequest object doesn't do a very good job uploading files. Now, I heard something about a workaround using iFrames. Does anybody have experience with tihs approach? Mind pointing me into the right direction or a tutorial maybe? Thank much! -monty |
| |
| | #2 (permalink) |
| NamePros Member Join Date: May 2006 Location: Coral Springs
Posts: 60
![]() | AJAX cannot send files to the server. This is because AJAX is actually Javascript which is a client side language which means that it can only interact with the browser, not the user. http://www.air4web.com/files/upload/ This is what you may be looking for. |
| |
| | THREAD STARTER #3 (permalink) | ||||
| NamePros Member Join Date: Jun 2005 Location: Hat Yai, Thailand
Posts: 165
![]() |
The problem is that the XMLHttpRequest object doesn't work with file uploads. I know there's toolkit's out there using iFrames to get past this problem. Thanks for your link anyway, but I really need a Ajax solution for this. -monty | ||||
| |