Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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?
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
Node Status?
node history
Node Type: note [id://812037]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2014-07-13 02:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (245 votes), past polls