Re: [PHP] regular expression and forbidden words

2007-07-18 Thread Ben Schmidt
Nicolas Quirin wrote: Hi, i'm french, i'm using regular expressions in php in order to rewrite hyperlink tags in a specific way before apache output is beeing sent to client. Purpose is to replace href attribute of any A html tag by a javascript function calling an ajax loader. Currently

Re: [PHP] regular expression and forbidden words

2007-07-18 Thread Ben Schmidt
Nicolas Quirin wrote: Hi, i'm french, i'm using regular expressions in php in order to rewrite hyperlink tags in a specific way before apache output is beeing sent to client. Purpose is to replace href attribute of any A html tag by a javascript function calling an ajax loader. Currently

[PHP] Re: Reading sub-elements using XML Reader

2007-07-18 Thread Ben Schmidt
Have you considered using 'SimpleXML functions' or 'DOM functions' (not 'DOM XML functions'; they are old and klunky) to do it? They are simpler (particularly--you guessed it--SimpleXML). I can post you a brief example if you like, but you may well have no trouble. CC me personally if you want