Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by superfrink (Curate)
on Dec 09, 2009 at 20:33 UTC ( [id://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?
      Thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://812037]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-23 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found