Bridging PHP and Python object serialization
October 10, 2006 3:14 AM
Subscribe
Bridging PHP and Python object serialization
I have a few GNU
mailman lists that I'd like to manipulate with a PHP-based web application.
The
mailman user table appears to be stored in Python
marshal format.
Is there a way to read and manipulate the
mailman user database within a PHP data structure? I'd like to read the database information into a structured (key-value) PHP variable, possibly modify values, and read the information back into the
mailman.
I suppose I could do stuff on the command-line, or use a PEAR Python module to run Python code, but for code management purposes it would be preferable to be able to manipulate PHP variables.
Sorry if this is a question with an easy solution. Thanks for any advice.
posted by Blazecock Pileon to computers & internet (7 comments total)
1 user marked this as a favorite
posted by grouse at 3:24 AM on October 10, 2006