Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Perl Hashes => Php array: existant module?

by superfrink (Curate)
on Dec 09, 2009 at 20:33 UTC ( #812037=note: print w/replies, xml ) Need Help??

in reply to Perl Hashes => Php array: existant module?

You may find code to parse and produce PHP serialized data in the PHP::Session module.

Update: The module that PHP::Session uses to serialize data is PHP::Session::Serializer::PHP .
  • Comment on Re: Perl Hashes => Php array: existant module?

Replies are listed 'Best First'.
Re: Perl Hashes => Php array: existant module?
by ssc37 (Acolyte) on Dec 10, 2009 at 11:36 UTC
    I've took a look about PHP::Session and not seen something interesting for my deal.
    I browse cpan yesterday and found the module PHP::Serialization, but i'm not sure it dump a php array.
    I've just tried XML::Dumper but it didn't print all informations of my hashes just the first keys.... so i test with Data::DumpXML and everything is ok ^^
    Last step, parse this xml file to retrieve an array in my php page

    Cheers for yours informations and for this nice website
    Best regards Ps: i hope you understand my sad english ^^ i'm french
      After take a look at my output xml file generated by XML::Dumper, i've seen some key encode in base64 ... :s due to some accent or characters like 'ιθ' etc..
      Do you know a way to solve it?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://812037]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2018-06-20 03:00 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (116 votes). Check out past polls.