From: Eric Hodel Date: 2007-08-21T04:49:53+09:00 Subject: Re: Unmarshal object with PHP On Aug 20, 2007, at 05:45, Piotr Sarnacki wrote: > Thanks for replies :) > > On Aug 20, 3:30 am, Eric Hodel wrote: >> http://www.aagh.net/projects/ruby-php-serialize >> > > I should specify more precisely :) I need something like Ruby PHP > serializer, but "the other way". (PHP Ruby Marshalizer? ;-) ) > > Session data in Rails is marshaled and I want to read it in PHP > application to find out if user is logged in. > > If there is no easy way to do this I'd have to change session > behaviour a little bit.... :] That's probably optimal. Porting Ruby's marshal format to PHP is going to take you longer than using PHP serialize instead of marshal on your session data. -- Poor workers blame their tools. Good workers build better tools. The best workers get their tools to do the work for them. -- Syndicate Wars