Re: [PHP] Bilingual strtotime()

2011-02-06 Thread Raymond Irving
Yeah I think that's the only way out for now. I had to do something similar when using strftime() but the same can be done when using strtotime(). You just have to be careful with abbreviated names. Check out the source code here:http://code.google.com/p/raxan/source/browse/trunk/raxan/sdk/raxan

Re: [PHP] Closure and $this

2011-01-13 Thread Raymond Irving
Many thanks Larry. I like the Closure::bind() method proposal. Best regards __ Raymond Do more with less - http://raxanpdi.com --- On Thu, 1/13/11, Larry Garfield wrote: From: Larry Garfield Subject: Re: [PHP] Closure and $this To: php-general@lists.php.net Date: Thursday, January 13, 2011

[PHP] Closure and $this

2011-01-12 Thread Raymond Irving
Hello, Does anyone know if closures will ever support the $this keyword?  I think it would be very useful when working with objects. Best regards__RaymondDo more with less - http://raxanpdi.com

Re: [PHP] DOMDocument::loadXML() failed when parsing comments inside a script tag

2010-06-07 Thread Raymond Irving
Well it actually failed when loadHTML() is used. The strange thing is that it will fail regardless of the "--" characters: "Unexpected end tag : strong in Entity" __ Raymond Irving On Mon, Jun 7, 2010 at 2:50 PM, Andrew Ballard wrote: > On Mon, Jun 7, 2010 at 3:30 PM

Re: [PHP] Security Issue

2010-06-07 Thread Raymond Irving
Are you running the latest version of PHP? If not you should check for PHP vulnerabilities for the version that you have installed. You should also check your OS and web server software for security holes. On Mon, Jun 7, 2010 at 7:54 AM, Igor Escobar wrote: > Hi Folks! > > The portal for which

Re: [PHP] Re: DOMDocument throws Unexpected end tag error when loading valid HTML

2010-06-07 Thread Raymond Irving
Thanks Nisse. This works great! I just wish the HTML DOM parser could just ignore the contents of the

Re: [PHP] DOMDocument throws Unexpected end tag error when loading valid HTML

2010-06-07 Thread Raymond Irving
would have to decode it when we want to generate HTML inside the browser Many thanks for the feedback Best regards, __ Raymond Irving On Mon, Jun 7, 2010 at 4:45 AM, Richard Quadling wrote: > On 6 June 2010 19:56, Raymond Irving wrote: > > Hello, > > > > Sorry to have to be wr

Re: [PHP] DOMDocument::loadXML() failed when parsing comments inside a script tag

2010-06-07 Thread Raymond Irving
Hi Adam, Thanks for the update but I'm thinking that it would be much easier if the DOM parser could just ignore the contents of the tags when parsing HTML content. This way we would not have to out JavaScript or force uses to add JavaScript to a separate file. What do you think? __ Ra

[PHP] DOMDocument::loadXML() failed when parsing comments inside a script tag

2010-06-06 Thread Raymond Irving
Hello, I'm experiencing another issue when attempting to use DOMDocument::loadXML() to load the following HTML code: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>