Reply to Re: iFrame ContentType

Your name:

Reply:


Posted by pbd22 on 02/07/07 19:43

On Feb 1, 10:45 am, "pbd22" <dush...@gmail.com> wrote:
> hi.
>
> i am trying to create a hidden iframe in my form that passes
> some files for upload to the server. kind of a tricky way to
> provide the user an "ajax-style" feel during upload.
>
> the problem is that the files never make it to the server - the
> .net httpfilecollection is always zero. after doing some
> close inspection using the venkman javascript debugger, i
> have discovered that the iframe contenttype is text/html.
> as in uderstand it, uploads always have to be multipart/form-data.
>
> ______________________________________________________
>
> how do i engineer my upload form so the iframe is the correct
> contenttype?
> ______________________________________________________
>
> i have done the obvious which is sent the enctype="multipart/form-
> data"
> in the form tag that encases the input files (type=file) for uplaod.
>
> any ideas? i would be happy to provide code or a venkman summary
> if you ask - just didnt want to overdo it. :)
>
> thanks.

after some further debugging and guesswork, i am starting to think
that this program fails at the point when the querystring is being
passed
to the iframe object:

IFrameDoc.location.replace(URL);

has anybody out there had any problems with using location.replace()
as a way of passing the upload querystring through the iframe to the
server?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация