Deserializing AMF0 with AS3

View: New views
3 Messages — Rating Filter:   Alert me  

Deserializing AMF0 with AS3

by ktt :: Rate this Message:

| View Threaded | Show Only this Message

Hello,

I'm using AMFPHP 1.2.5 and trying to deserialize such a string:
var str:String = 'a:5:{i:0;a:3:{s:11:"__responder";N;s:12:"__methodName";s:10:"exportData";s:9:"__service";a:5:{s:3:"log".......
But unsuccesfully - tried Sepiroth's deserializer, but all that i get just a list of commas.
Is there are way to transform this tring to object?

Thank you in advance,
Kestutis





     

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
amfphp-general mailing list
amfphp-general@...
https://lists.sourceforge.net/lists/listinfo/amfphp-general

Re: Deserializing AMF0 with AS3

by Bugzilla from evert@rooftopsolutions.nl :: Rate this Message:

| View Threaded | Show Only this Message

On 2011-01-03, at 7:33 PM, ktt wrote:

> Hello,
>
> I'm using AMFPHP 1.2.5 and trying to deserialize such a string:
> var str:String = 'a:5:{i:0;a:3:{s:11:"__responder";N;s:12:"__methodName";s:10:"exportData";s:9:"__service";a:5:{s:3:"log".......
> But unsuccesfully - tried Sepiroth's deserializer, but all that i get just a list of commas.
> Is there are way to transform this tring to object?

That's not AMF0, that's just the output from http://nl2.php.net/manual/en/function.serialize.php

Evert
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
amfphp-general mailing list
amfphp-general@...
https://lists.sourceforge.net/lists/listinfo/amfphp-general

Re: Deserializing AMF0 with AS3

by ktt :: Rate this Message:

| View Threaded | Show Only this Message

thank you for answer!
Can I process it with AS3?
Online PHP Unserializer process it easily..
http://blog.tanist.co.uk/files/unserialize/index.php

Regards,
Kestutis

--- On Mon, 1/3/11, Evert Pot <evert@...> wrote:

> From: Evert Pot <evert@...>
> Subject: Re: [amfphp] Deserializing AMF0 with AS3
> To: amfphp-general@...
> Date: Monday, January 3, 2011, 8:39 PM
> On 2011-01-03, at 7:33 PM, ktt
> wrote:
>
> > Hello,
> >
> > I'm using AMFPHP 1.2.5 and trying to deserialize such
> a string:
> > var str:String =
> 'a:5:{i:0;a:3:{s:11:"__responder";N;s:12:"__methodName";s:10:"exportData";s:9:"__service";a:5:{s:3:"log".......
> > But unsuccesfully - tried Sepiroth's deserializer, but
> all that i get just a list of commas.
> > Is there are way to transform this tring to object?
>
> That's not AMF0, that's just the output from http://nl2.php.net/manual/en/function.serialize.php
>
> Evert
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node
> allows customers
> to consolidate database storage, standardize their database
> environment, and,
> should the need arise, upgrade to a full multi-node Oracle
> RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> amfphp-general mailing list
> amfphp-general@...
> https://lists.sourceforge.net/lists/listinfo/amfphp-general
>


     

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
amfphp-general mailing list
amfphp-general@...
https://lists.sourceforge.net/lists/listinfo/amfphp-general