Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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?

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
Node Status?
node history
Node Type: note [id://812037]
help
Chatterbox?
[stonecolddevin]: i went too far down the irc rabbithole to hook this back up there
[Discipulus]: .. yes erix until NodeReaper put jhon coltrane again
[erix]: nice cover with the spitting image of George (and a great solo by Prince at the end )
[Discipulus]: good night monks! i feel fresh as the turkey in the hoven but i need to sleep
[planetscape]: gobble, gobble, Discipulus!
[erix]: Discipulus: buonanotte! :)
[stonecolddevin]: man we need a new guitar legend
[stonecolddevin]: Clapton has issues playing nowadays
[stonecolddevin]: Prince is gone
[stonecolddevin]: Van Halen is still around but I haven't heard any of their new stuff

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2017-06-22 21:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (531 votes). Check out past polls.