Reply to iFrame ContentType

Your name:

Reply:


Posted by pbd22 on 02/01/07 18:45

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.

[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

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