Uploads should be straight forward for any browser.
IOElement sends the data using the multipart encode
format. 

You should be able to handle IOElement form uploads on
the server the same way you would a normal <form>
upload.

--
Raymond Irving


--- Leif W <[EMAIL PROTECTED]> wrote:
> I've got the PHP sort of working for the upload
> example (fixed more
> ioelmsrv.php bugs), but only in IE for some reason. 
> I'm fiddling with the
> Mozilla JavaScript console and debugger to see if I
> can get more
> information.  Still need to go over everything
> later.  But for now just
> trying to get this upload example working for both
> browsers.
> 
> Leif
> 
> ----- Original Message ----- 
> From: "Raymond Irving" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 16, 2003 7:58 PM
> Subject: Re: [Dynapi-Dev] IOElement Upload example
> 
> 
> >
> > --- Leif W <[EMAIL PROTECTED]> wrote:
> > > Ahh, answering my own question, sort of.
> > >
> > > I was using Mozilla 1.4 for testing.  I tried in
> > > IE6, and I was prompted
> > > about a JavaScript error.  Using the builtin
> > > JavaScript debugger, I saw the
> > > output of the php file.  It was somewhat
> malformed.
> > > Now I have the hook I
> > > was looking for; I have the error feedback now
> so I
> > > can correct the PHP
> > > code.  But if anyone else has other ideas how to
> > > approach this part of the
> > > development, let me know.
> >
> > Glad to hear that you're moving ahead with the php
> > section of ioelement.
> >
> > One way we can do this is to create a
> > wsRaiseError(code,text) function in ioelmsvr to
> > trigger an alert message on the client. What do
> you
> > think?
> >
> > Note this will only trap user generated errors. To
> see
> > sever generated or script errors you might have to
> see
> > the dynapi.util.datasource.html:
> >
> > // IE only - used to display page content of a
> failed
> > response.
> > var elm=o.ioelement.getScope();
> > if (!(dynapi.ua.ie && elm.document &&
> > !elm.document._tranState)) t='';
> > else t='------\n'+elm.document.body.innerText;
> >
> >
> > --
> > Raymond Irving
> >
> > >
> > > Leif
> > >
> > > ----- Original Message ----- 
> > > From: "Leif W" <[EMAIL PROTECTED]>
> > > To: "DynAPI-Dev"
> <[EMAIL PROTECTED]>
> > > Sent: Wednesday, July 16, 2003 5:36 PM
> > > Subject: [Dynapi-Dev] IOElement Upload example
> > >
> > >
> > > > I'm still at work on PHP and Perl versions.
> > > Trying to get the examples
> > > > converted as well.  Having a problem with the
> > > upload example.  Curious to
> > > > know if anyone has gotten the ASP version to
> work.
> > >  I don't have an ASP
> > > > capable environment so I can't test any ASP
> code
> > > to copy the
> > > functionality.
> > > > By looking at the code it seems everything in
> the
> > > PHP version should work,
> > > > assuming the ASP version (and underlying
> DynAPI
> > > javascript) works.  Anyone
> > > > have any suggestion how to get some hooks into
> the
> > > ioelmsrv.asp and
> > > > ioelement.js files so I can check the scripts
> > > progress to help debug the
> > > > problem?  I'm getting no error messages in the
> > > browser or in the web
> > > server
> > > > logs, but the upload fails anyways.
> > > >
> > > > Doing my best to look up ASP (JScript and
> > > VBScript) coding examples on the
> > > > net, as I couldn't find any simple,
> comprehensive
> > > language reference (like
> > > > the PHP language reference manual) on the MSDN
> > > site.  Found some text
> > > books
> > > > but they didn't quite have a the information I
> was
> > > looking for.
> > > >
> > > > Fixed some broken code in the new
> ioelmsrv.php.
> > > Everything seems correct
> > > > but as I said, I don't know if any
> functionality
> > > got lost in the
> > > translation
> > > > from ASP to PHP.  For example, things are
> > > generally much simpler looking
> > > in
> > > > PHP, so many lines of ASP code seem
> superfluous
> > > and can be removed, while
> > > > other lines of ASP can be condensed into a
> single
> > > statement in PHP.  Also
> > > > working on both a functional (.pl) and object
> > > oriented (.pm) Perl version
> > > of
> > > > ioelmsrv.asp.  Hopefully I'll soom be finished
> > > with these libs and
> > > examples
> > > > and will release them all at once.
> > > >
> > > > Leif
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
-------------------------------------------------------
> > > > This SF.net email is sponsored by: VM Ware
> > > > With VMware you can run multiple operating
> systems
> > > on a single machine.
> > > > WITHOUT REBOOTING! Mix Linux / Windows /
> Novell
> > > virtual machines at the
> > > > same time. Free trial click here:
> > > http://www.vmware.com/wl/offer/345/0
> > > >
> _______________________________________________
> > > > Dynapi-Dev mailing list
> > > > [EMAIL PROTECTED]
> > > >
> > >
> >
>
http://www.mail-archive.com/[EMAIL PROTECTED]/
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> >
>
-------------------------------------------------------
> > > This SF.net email is sponsored by: VM Ware
> > > With VMware you can run multiple operating
> systems
> > > on a single machine.
> > > WITHOUT REBOOTING! Mix Linux / Windows / Novell
> > > virtual machines at the
> > > same time. Free trial click here:
> > > http://www.vmware.com/wl/offer/345/0
> > > _______________________________________________
> > > Dynapi-Dev mailing list
> > > [EMAIL PROTECTED]
> > >
> >
>
http://www.mail-archive.com/[EMAIL PROTECTED]/
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > SBC Yahoo! DSL - Now only $29.95 per month!
> > http://sbc.yahoo.com
> >
> >
> >
>
-------------------------------------------------------
> > This SF.net email is sponsored by: VM Ware
> > With VMware you can run multiple operating systems
> on a single machine.
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to