[HTML_AJAX-devel] Re: File upload in form with HTML_AJAX
Joshua Eichorn
josh at bluga.net
Wed Dec 6 08:02:41 PST 2006
JC Frehling wrote:
> [This message has been brought to you via pear.php.net.]
>
> I have a form, with the correct enctype="multipart/form-data",
> containing a file input. The post data are correctly transferred to the
> PHP script whereas the $_FILES is empty.
>
> Is it implemented ? Should I do something special ? The 2 scripts are
> working fine without HTML_AJAX
>
> Sincerely yours
>
> Jean-Christophe
>
HTML_AJAX doesn't have any direct support for file uploads. For that
matter XMLHttpRequest doesn't.
You can use a hidden iframe and a target on the form to submit an upload
in the background, but HTML_AJAX.formSubmit doesn't do that
transparently at the moment.
-josh
More information about the Html_ajax-devel
mailing list