Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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]
[choroba]: again, stopping it and trying for the second time fixed the problem
[marto]: good morning all

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (13)
As of 2017-02-22 09:16 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (325 votes). Check out past polls.