|
Posted by arkascha on 07/13/07 08:05
petersprc wrote:
> You might store the array as XML, for example:
> http://simonwillison.net/2003/Apr/29/xmlWriter/
> Perl can load it with XML::Simple:
> http://articles.techrepublic.com.com/5100-22-5363190.html
Thanks for the hint, I'll give it a glimpse. I am always a fan of more than
one possible solution, this adds stability to the general solution...
Actually I have to admit that we are now using JSON more intense. I realized
in the meantime that JSON is availible as a PECL extension that's quite
easy to install. Works like charm :-)
> On Jul 11, 7:52 am, arkascha <no_spam@no_spam.org> wrote:
>> Hi ,
>> we are looking for an efficient method to transport array structures from
>> a php script to some other engine. Currently we offer phps internal
>> serialize function and (if present) the json encoding. For installations
>> where the latter is _not_ present we are looking for something else,
>> especially to hand over arrays to perl.
>> Now there is a perl class living in CPAN that can unserialize
>> php-serialized arrays but I wonder if there is some (already existing)
>> way to generate a perl-freeze representations from within php ?
>> Does anyone have a hint here, or maybe an alternative?
[Back to original message]
|