From: david <spa...@ya...> - 2005-01-26 07:14:13
|
I'm attempting to connect to a pop3 server. I have a working copy in php and trying to port it to a flash environment. Any suggestions? --- Patrick Mineault <li...@5e...> wrote: > When you return an fsokopen from your function, the > type is > 'resource', and so AMFPHP tries to apply one of the > SQL > filters to it. Obviously that won't work. You can't > return a > socket and hope it to work out of the box. What are > you > trying to achieve anyway? > > Patrick > > david wrote: > > I'm getting a AMFserializer error when I attempt > to > > return the resource id from fsockopen(), is there > > something i can do to return this properly from a > > function or is this not compatible? > > > > If I were to have this work, would the socket > > connection stay open until I close it or the user > > exits? If not, how can I keep the socket open in > my > > services class until I explicitly send a command > to > > close it or an error closes it. > > > > e.g. I want to send callbacks for connection, > login, > > authentication etc > > > > error is: > > Status (object #2) > > .....code: 2 > > .....description: "Invalid argument supplied for > > foreach()" > > .....details: > > "/var/www/tmp/flashservices/io/AMFSerializer.php" > > .....level: "Warning" > > .....line: 225 > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IntelliVIEW -- > Interactive Reporting > > Tool for open source databases. Create drag-&-drop > reports. Save time > > by over 75%! Publish reports on the web. Export to > DOC, XLS, RTF, etc. > > Download a FREE copy at > http://www.intelliview.com/go/osdn_nl > > _______________________________________________ > > amfphp-general mailing list > > amf...@li... > > > https://lists.sourceforge.net/lists/listinfo/amfphp-general > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- > Interactive Reporting > Tool for open source databases. Create drag-&-drop > reports. Save time > by over 75%! Publish reports on the web. Export to > DOC, XLS, RTF, etc. > Download a FREE copy at > http://www.intelliview.com/go/osdn_nl > _______________________________________________ > amfphp-general mailing list > amf...@li... > https://lists.sourceforge.net/lists/listinfo/amfphp-general > __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com |