[PHP-DEV] XMLSec support in PHP
I use libxml2 in PHP as almost a daily task, and I love it, but as my company is going further and further into XML as a data transport/storage format, I've become piqued at the idea of actually using xmlsec to securely store and/or transfer our files and RPC data. I know that there is an xmlsec project (http://www.aleksey.com/xmlsec/) which is building off of or related to both libxml2 and OpenSSL, so I was curious if anyone had started work to expose xmlsec functionality to PHP. I know the xmlsec project listed above is fairly early on in its development, but if someone knew of a proof of concept implementation of xmlsec in PHP, I'd love to play with it. If there isn't, has anyone started such a project, or are planning to? Just curious. Thanks! Mark J. Hershenson [EMAIL PROTECTED] http://green-ant.com/ -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] ZE2 dev snaps
Hi all, I know there are Win32+ZE2 Package snapshots on snaps.php.net, but I don't believe I've read why there isn't a ZE2 source code snapshot for everyone else. Checking out the source with CVS may not be the world's most difficult practice, but automating that process likely isn't either. ;) Is there a timeline for this, or is this being intentionally kept off the radar? -- mjh -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Serializer / deserializer error information?
I am currently debugging an issue which I am finding hard to find which centers on trying to serialize and deserialize very complex objects which, when serialized, are around 580k in size. It's all part of a custom session handler. However, when I go to deserialize the value, I get back boolean false ( === false). Seems to me that some sort of error message might be in store, no? Is there some reason why deserialize() does not at least throw an error like the main parser. Something like: Deserialize error: Unexpected character encountered at offset 4687 Would it be possible to incorporate this type of error reporting into PHP? I'd be happy to provide print_r() dumps of the data involved if it would help to diagnose the issue at hand... As it is, it seems as though I'll just have to create a runtime file to keep track of the important values and then recreate the objects on each page, but it would be so much easier to serialize the dumb things. :) Mark J. Hershenson [EMAIL PROTECTED] http://www.green-ant.com/ -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] database abstraction layers [from: MySQLfeature/bug]
I have been crafting my own database abstraction layer, and in doing so create an array of the results of a query. Is this an db abstraction layer written in php (script), or written as a module for php (C)? I was thinking of writing an (open source) db-abstraction module (that uses existing db-modules, of course), which could then be used from php-script as well as from other modules that need db-functionality without committing to a specific database. Or, does such a module exist already and should I concentrate on using and/or co-developing that one? Thanks, Marc. I'd be open to turning it into C, as all my layer is really doing at its core is to do every single bit of error checking and API utilization for all the different DB drivers present on the system. What I've seen of PHPLIB and PEAR's DB function don't interest me. I hardly see the point of using objects to do the work that a general function would do just as well and without any need to instantiate it. I need to spend some time with the Zend API to see if it's really worth it for my time to go about doing it, but yes, I am very much considering turning it into C. I've really been hoping that someone was going to take an intermediately complex Zend extension and put together a how-to that would help beginners and advanced programmers alike. I think there is a real need for someone or a group of programmers to get together and write a step-by-step theory/implementation "cookbook" for the sake of the community. Should I reach that point, I'd be happy to do it, but I tend to believe that the community could do it faster and better than I could right now, and that if if such a document were made publicly available, the community could build more and better core tools faster. My 2 cents...:) -- Per the initial question I posted, can there at least by made available a newer option for mysql_fetch_array() such as MYSQL_ALL, which would then give you null and non-null associative names? Mark J. Hershenson [EMAIL PROTECTED] http://www.green-ant.com/ -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]