[PHP] Comparison of class with recursive references causes fatal error

2005-10-15 Thread Mark Evans
Hi All I am coming up against a similar issue as http://bugs.php.net/bug.php?id=31449 Take the following code for example (from the bug report) me = $this; } } new Recursive() != new Recursive(); ?> A "nesting level too deep" fatal error is thrown... I can kind of see why th

Re: [PHP] Opensource webshop

2005-09-23 Thread Mark Evans
Are there many in just PHP to? I can name at least 7 or 8 that I know of :-) Most are multi-lingual so can work with any language and come with a full administration tool. Regards Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Opensource webshop

2005-09-22 Thread Mark Evans
I'm just beginning to test if there is some interest in an opensource-webshop... The admin-part is not opensource.. Surely if the admin isnt opensource then its not an opensource solution? You cant run a store without the admin part ;-) Regards Mark -- PHP General Mailing List (http://www.ph

[PHP] Re: session

2005-09-20 Thread Mark Evans
how to do it ? http://php.grn.es/manual/en/ref.session.php Hint: Look at example 1 where it says link Also take a look at http://php.grn.es/manual/en/function.session-register.php Note: the part about not using session_register() Regards Mark -- PHP General Mailing List (http://www.php

[PHP] Strange issue with xml_parse_into_struct

2005-09-20 Thread Mark Evans
Hi All I am having an issue when trying to parse an xml document with namespaces. The XML data I am trying to parse looks like the following %3Chtml%3E%0A%3Chead%3E%0A%3Ctitle%3E%3C%2Ftitle%3E%0A%0A%3C%2Fhead%3E%0A%3Cbody%3E%0A%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E%0A A small script to reproduce the

[PHP] What can I use instead?

2002-01-06 Thread Mark Evans
Hi I am writing a piece of code that uses contstant names that are dynamic. My first solution was to use the constant() function from within PHP. My problem now is that the code needs to be compatible with PHP 3.018 and early versions of PHP 4. Can anyone offer a better way of doing things?