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

Re: [PHP] Closure and $this

2011-01-13 Thread Raymond Irving
@lists.php.net Date: Thursday, January 13, 2011, 1:57 AM On Wednesday, January 12, 2011 11:37:19 pm Greg Bair wrote: On Wed, 12 Jan 2011 20:02:11 -0800 (PST) Raymond Irving xwis...@yahoo.com wrote: Hello, Does anyone know if closures will ever support the $this keyword? I think it would

[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] Security Issue

2010-06-08 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 titiolin...@gmail.com wrote: Hi Folks!

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

2010-06-08 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 aball...@gmail.com wrote: On Mon, Jun 7, 2010 at 3:30 PM, Raymond

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

2010-06-07 Thread Raymond Irving
? __ Raymond Irving On Sun, Jun 6, 2010 at 11:22 PM, Adam Richardson simples...@gmail.comwrote: On Sun, Jun 6, 2010 at 10:39 PM, Raymond Irving xwis...@gmail.com wrote: Hello, I'm experiencing another issue when attempting to use DOMDocument::loadXML() to load the following HTML code: ?php $html

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

2010-06-07 Thread Raymond Irving
? lt;stronggt; This works but the only drawback is that we 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 rquadl...@gmail.comwrote: On 6 June 2010 19:56

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 script tags. It would have made life so much easier for developers working with the DOM. Best regards, __ Raymond Irving 2010/6/7 Nisse Engström news.nospam.0ixbt...@luden.se In HTML

[PHP] Fixe Point Decimal Data type

2009-12-17 Thread Raymond Irving
Hello, Is there a way to represent numeric values as fixed point decimals in PHP? If not, why was this datatype not added? I think is very important to have fixed point decimals when working with money values. This would make it much easy than having to use the BCMath functions. If PHP had

Re: [PHP] Best ajax library

2009-12-12 Thread Raymond Irving
Well I would recommend jQuery for client-side ajax. But if you're looking for an integrated solution for php on the server-side, then you might want to check out Raxan for PHP - http://raxanpdi.com Best regards, __ Raymond Irving Raxan for PHP - PHP/Ajax made simple

[PHP] Live PHP Code Templates for NetBeans - accelerate your php development.

2009-12-07 Thread Raymond Irving
accelerating your PHP/Ajax development, then you might want to check out the new and improved Raxan for PHP (http://raxanpdi.com/) __ Raymond Irving Raxan for PHP - Ajax just got a whole lot easier!

Re: [PHP] Live PHP Code Templates for NetBeans - accelerate your php development.

2009-12-07 Thread Raymond Irving
Irving Raxan for PHP - Building Rich Applications one Page at a Time From: German Geek geek...@gmail.com To: Raymond Irving xwis...@yahoo.com Cc: PHP-General List php-general@lists.php.net Sent: Mon, December 7, 2009 5:16:04 PM Subject: Re: [PHP] Live PHP Code

Re: [PHP] processing html forms and keeping the values

2009-11-25 Thread Raymond Irving
to the size of the query string (2k). Be careful with XSS Another solution is to use a framework to handle the post back values. One such framework is called Raxan. Here's an example of what it can do: http://raxanpdi.com/form-state-example.html __ Raymond Irving

Re: [PHP] is Aptana taking a crap on the face of PHP?

2009-11-12 Thread Raymond Irving
You might want to check out NetBeans for PHP - It's very nice open source IDE Best regards, __ Raymond Irving From: Daevid Vincent dae...@daevid.com To: PHP General php-general@lists.php.net Sent: Thu, November 12, 2009 7:55:56 PM Subject: [PHP] is Aptana

Re: [PHP] Why getcwd() returs different results?

2009-11-05 Thread Raymond Irving
-function.php It's a known problem but I can't see why this can't be fixed From: Ashley Sheridan a...@ashleysheridan.co.uk To: Raymond Irving xwis...@yahoo.com Cc: PHP-General List php-general@lists.php.net Sent: Thu, November 5, 2009 6:09:19 AM Subject: Re: [PHP] Why

Re: [PHP] How to Get the Sub Classes of a Parent Class

2009-10-27 Thread Raymond Irving
David, I'm try to do something like what Martin Scotta did but I'm looking for a solution that did not require me to loop through get_declared classes() to find a sub class. __ Raymond Irving From: David Otton phpm...@jawbone.freeserve.co.uk To: Raymond

Re: [PHP] How to Get the Sub Classes of a Parent Class

2009-10-27 Thread Raymond Irving
From: Martin Scotta martinsco...@gmail.com To: Raymond Irving xwis...@yahoo.com Cc: David Otton phpm...@jawbone.freeserve.co.uk; PHP-General List php-general@lists.php.net Sent: Mon, October 26, 2009 8:34:05 PM Subject: Re: [PHP] How to Get the Sub Classes of a Parent Class On Mon

Re: [PHP] How to Get the Sub Classes of a Parent Class

2009-10-25 Thread Raymond Irving
I want to automatically initialize a specific sub class when the php page is loaded. I'm looking for a solution for php 5.1+ or anything that's optimized for 5.3 From: David Otton phpm...@jawbone.freeserve.co.uk To: Raymond Irving xwis...@yahoo.com Cc: php

[PHP] How to Get the Sub Classes of a Parent Class

2009-10-24 Thread Raymond Irving
Hello, Does any know of an optimized solution to get all the subclasses for a parent class? __ Raymond Irving

[PHP] Built-in Debugging

2009-10-15 Thread Raymond Irving
Hello, Will be ever see built-in debugging features for PHP? I kjnow there's xdebug but it's sometimes difficult to get it working. I'm hopoing that PHP will one day have intgrated debuging features that can be easily enabled or disabled: ?php enable_debug(true); debug_console(Hello

[PHP] Built-in Debugging

2009-10-15 Thread Raymond Irving
Hello, Will be ever see built-in debugging features for PHP? I know there's xdebug but it's sometimes difficult to get it working. I'm hoping that PHP will one day have integrated debugging features that can be easily enabled or disabled: ?php enable_debug(true); debug_console(Hello

RE: [PHP] Native support to MS SQL Server

2009-10-10 Thread Raymond Irving
--- On Fri, 10/9/09, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Would this be a good time to troll about the virtues of MySQL over MSSQL? :p I would like to tell some clients and users to switch to MySQL but the problem is that they have already invested in MSSQL and have other systems

[PHP] Native support to MS SQL Server

2009-10-08 Thread Raymond Irving
Hello, Will we ever see drivers for MS SQL Server in PHP5? I know MS is working on drivers for PHP 5.3 but it's not clear if they will ever produce a PDO driver for PHP. PDO is the way to go. The other thing is that MS latest version of the sqlsrv driver requires SQL Native Client 2008 and is

Re: [PHP] Re: How do I extract link text from anchor tag as well as the URL from the href attribute

2009-08-22 Thread Raymond Irving
here: http://raxanpdi.com/downloads.html __ Raymond Irving --- On Sat, 8/22/09, Manuel Lemos mle...@acm.org wrote: From: Manuel Lemos mle...@acm.org Subject: [PHP] Re: How do I extract link text from anchor tag as well as the URL from the href attribute To: chrysanhy phpli...@hyphusonline.com Cc

Re: [PHP] PHP/Ajax Framework - Call for Developers Testers

2009-08-20 Thread Raymond Irving
Irving --- On Thu, 8/20/09, Nathan Nobbe quickshif...@gmail.com wrote: From: Nathan Nobbe quickshif...@gmail.com Subject: Re: [PHP] PHP/Ajax Framework - Call for Developers Testers To: Raymond Irving xwis...@yahoo.com Cc: php-general@lists.php.net Date: Thursday, August 20, 2009, 1:31 PM ive

[PHP] PHP/Ajax Framework - Call for Developers Testers

2009-08-19 Thread Raymond Irving
me an email if you have any questions. You can check out the new features here: http://raxanpdi.com/new-in-beta-2.html Best regards __ Raymond Irving

Re: [PHP] PHP/Ajax Framework - Call for Developers Testers

2009-08-19 Thread Raymond Irving
Hi Nathan, Many thanks for the feedback. There many other useful features built into the API but my favorite is the embedded feature. You can see a live example here: http://raxanpdi.com/shoutbox-embedded-example.html Best regards, __ Raymond Irving --- On Wed, 8/19/09, Nathan Nobbe

Re: [PHP] Zebra Striped Table Example

2009-06-04 Thread Raymond Irving
to not be working at all. Best regards, __ Raymond Irving --- On Thu, 6/4/09, Ashley Sheridan a...@ashleysheridan.co.uk wrote: From: Ashley Sheridan a...@ashleysheridan.co.uk Subject: Re: [PHP] Zebra Striped Table Example To: Raymond Irving xwis...@yahoo.com Cc: 'PHP-General List' php-general

Re: [PHP] Zebra Striped Table Example

2009-06-03 Thread Raymond Irving
. If you have any questions feel free to drop me a line or post a comment inside the forum. __ Raymond Irving Quickly build and maintain PHP Ajax application Raxan PDI - http://raxanpdi.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Zebra Striped Table Example

2009-06-01 Thread Raymond Irving
That's what I like about the web and the open source community. We point out errors so that they can be fixed. __ Raymond Irving --- On Mon, 6/1/09, Jonesy gm...@jonz.net wrote: From: Jonesy gm...@jonz.net Subject: [PHP] Re: Zebra Striped Table Example To: php-general@lists.php.net Date

Re: [PHP] General Web Development Editor/IDE

2009-05-25 Thread Raymond Irving
and project management). But before I try that, are there any suggestions from all you experts out there? I would recommend Netbbeans 6.7 PHP editor. It has built-in support for HTML, Javascript, CSS and PHP. http://www.netbeans.org/features/php/index.html __ Raymond Irving Create Rich

[PHP] A Rich Ajax Application Frameowrk for PHP

2009-05-22 Thread Raymond Irving
or learn more about the framework, please visit http://raxanpdi.com/ PS. If you would like to contribute to this project, please feel free to drop me a line or join our online community forum at http://raxanpdi.com/forum. Best regards, __ Raymond Irving

Re: [PHP] Re: Parsing of forms

2009-05-20 Thread Raymond Irving
($qry,$get); print_r($get); __ Raymond Irving Create Rich Ajax/PHP Web Apps Today! Raxan PDI - http://raxanpdi.com/ --- On Wed, 5/20/09, Daniele Grillenzoni dani...@b2informatica.it wrote: Yeah, and php://input should be able to handle $_POST, but custom functions ftl, the idea of having useless

Re: [PHP] Really basic PHP questions -- newbie here!

2009-05-20 Thread Raymond Irving
Hello Ellen, I can see that you're new to PHP. You might want to check out this link to get some more information on how PHP works and what you need to get started: http://www.php.net/getting-started See also http://www.dailybits.com/getting-started-with-php-part-1-hello-world/ __ Raymond

[PHP] XPath 2.0 in PHP 5.3

2009-05-06 Thread Raymond Irving
Hi, Does any one knows if XPath 2.0 will be supported in 5.3? __ Raymond Irving -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP6 return by reference deprecation

2009-05-02 Thread Raymond Irving
I don't think they should remove return by reference features from php6 at all. __ Raymond Irving --- On Sat, 5/2/09, Robert Cummings rob...@interjinn.com wrote: I don't know if it's even the case that it's going to be removed. I just went back and checked the link to the article

Re: [PHP] Two very useful PHP functions

2009-04-30 Thread Raymond Irving
of ?: Case 2 --- $c = myWrapper($a,$b) // total time = overhead of myWrapper() + overhead of isset() + overhead of ?: Case 3 --- $c = ifset($a,$b) // total time = overhead of ifset() Best regards __ Raymond Irving --- On Thu, 4/30/09, Daniel Brown danbr...@php.net wrote: From

Re: [PHP] DateInterval

2009-04-29 Thread Raymond Irving
functions. Best regards, __ Raymond Irving --- On Wed, 4/29/09, MIke Alaimo li...@reptiliannature.org wrote: From: MIke Alaimo li...@reptiliannature.org Subject: [PHP] DateInterval To: php-general@lists.php.net Date: Wednesday, April 29, 2009, 8:53 PM Hello, I would like to know how to correctly use

[PHP] Two very useful PHP functions

2009-04-29 Thread Raymond Irving
they make it into 5.3? Best regards __ Raymond Irving

Re: [PHP] DateInterval

2009-04-29 Thread Raymond Irving
that it's similar to strtotime and date but it would be very good if the PHP devs could make strtotime() and date() become wrappers for DateTime::modify and DateTime::format. This way we dont hae to modify our code when moving to a version of PHP that supports the new DateTime class. __ Raymond Irving

Re: [PHP] 800 pound gorilla

2009-04-20 Thread Raymond Irving
. It might not be business as usual. __ Raymond Irving --- On Mon, 4/20/09, Sancar Saran sancar.sa...@evodot.com wrote: From: Sancar Saran sancar.sa...@evodot.com Subject: Re: [PHP] 800 pound gorilla To: php-general@lists.php.net Date: Monday, April 20, 2009, 11:46 AM On Monday 20 April 2009 16:48:42

Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument

2009-04-15 Thread Raymond Irving
Thanks for your feedback. __ Raymond Irving --- On Tue, 4/14/09, Michael A. Peters mpet...@mac.com wrote: From: Michael A. Peters mpet...@mac.com Subject: Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument To: Raymond Irving xwis...@yahoo.com Cc: php-general@lists.php.net

Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument

2009-04-15 Thread Raymond Irving
? __ Raymond Irving --- On Tue, 4/14/09, Michael Shadle mike...@gmail.com wrote: From: Michael Shadle mike...@gmail.com Subject: Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument To: Raymond Irving xwis...@yahoo.com Cc: php-general@lists.php.net php-general@lists.php.net Date: Tuesday

Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument

2009-04-14 Thread Raymond Irving
advantage of using xhtml in the web browser over html for normal web application development? __ Raymond Irving --- On Tue, 4/14/09, Peter Ford p...@justcroft.com wrote: From: Peter Ford p...@justcroft.com Subject: Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument To: php

Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument

2009-04-13 Thread Raymond Irving
Michael, You are absolutely right! It's loadHTML() that's causing the problems. Best regards, __ Raymond Irving --- On Mon, 4/13/09, Michael A. Peters mpet...@mac.com wrote: From: Michael A. Peters mpet...@mac.com Subject: Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument

Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument

2009-04-13 Thread Raymond Irving
checkout: http://raxanpdi.com/examples.html __ Raymond Irving --- On Mon, 4/13/09, Michael Shadle mike...@gmail.com wrote: From: Michael Shadle mike...@gmail.com Subject: Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument To: Raymond Irving xwis...@yahoo.com Cc: php-general

Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument

2009-04-13 Thread Raymond Irving
the utf-8 issue with loadHTML()? __ Raymond Irving --- On Mon, 4/13/09, Michael A. Peters mpet...@mac.com wrote: From: Michael A. Peters mpet...@mac.com Subject: Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument To: Michael Shadle mike...@gmail.com Cc: Raymond Irving xwis

[PHP] Generate XHTML (HTML compatible) Code using DOMDocument

2009-04-12 Thread Raymond Irving
think? __ Raymond Irving -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument

2009-04-12 Thread Raymond Irving
as saveXML produces utf-8 output. PS. Feel free to drop me a line as I would like to hear about your experience with utf-8 web pages. Best regards, __ Raymond Irving -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument

2009-04-12 Thread Raymond Irving
It appears that the email system stripped out the #13; from this line: $html = str_replace('#13;','',$html); Best regards, __ Raymond Irving --- On Sun, 4/12/09, Raymond Irving xwis...@yahoo.com wrote: From: Raymond Irving xwis...@yahoo.com Subject: [PHP] Generate XHTML (HTML compatible

Re: [PHP] How about a saveXHTML for the DOM?

2009-04-11 Thread Raymond Irving
produce xhtml web pages that are html 4 compatible, so that they can be rendered in browsers that only supports html rendering. This is something that I think the PHP DOM should be able to support with ease. Best regards, __ Raymond Irving --- On Fri, 4/10/09, Michael A. Peters mpet...@mac.com

Re: [PHP] How about a saveXHTML for the DOM?

2009-04-10 Thread Raymond Irving
be easier to do: Going from saveHTML() to XHTML Going from saveXML() to XHTML __ Raymond Irving Create Rich Ajax/PHP Web apps Today! Raxan PDI - http://raxanpdi.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A Tool For Building PHP Web Apps

2009-04-10 Thread Raymond Irving
Maybe this can help: http://www.intorel.com/index.php?page=ActiveSiteCompiler-default_asp --- On Fri, 4/10/09, Paul M Foster pa...@quillandmouse.com wrote: From: Paul M Foster pa...@quillandmouse.com Subject: [PHP] A Tool For Building PHP Web Apps To: php-general@lists.php.net Date:

Re: [PHP] How about a saveXHTML for the DOM?

2009-04-10 Thread Raymond Irving
Thanks for the feedback Michael. I will look into your suggesstions. Is there an option on the DOMDocument that we can set to not have saveXML() append #13; to the end of the tags? This is normally the case if the html content was loaded using loadHTMLFile() __ Raymond Irving --- On Fri, 4

Re: [PHP] How can I echo a javascript var in an email subject line? Possible? (Yes!)

2009-04-08 Thread Raymond Irving
with Raxan PDI - http://raxanpdi.com __ Raymond Irving Create Rich Ajax/PHP Web Apps today! Raxan PDI - http://raxanpdi --- On Wed, 4/8/09, Michael A. Peters mpet...@mac.com wrote: From: Michael A. Peters mpet...@mac.com Subject: Re: [PHP] How can I echo a javascript var in an email subject

[PHP] How about a saveXHTML for the DOM?

2009-04-08 Thread Raymond Irving
comply with the XHTML standards. Another problem with saveXML() is the lack of support for HTML entities. There are many tricks out there to cleanup the output of saveXML() but I think having a native function would be much more efficient and faster. What do you think? __ Raymond Irving

Re: [PHP] I'm new

2009-04-05 Thread Raymond Irving
Hello, You can try using WAMP or XAMPP: http://www.apachefriends.org/en/xampp.html http://www.wampserver.com/ WAMP is very easy to install but only works on windows __ Raymond Irving Create Rich Ajax/PHP Web Apps Today! Raxan PDI - http://raxanpdi.com/ --- On Sat, 4/4/09, ®0L¥ rol

Re: [PHP] flushing AJAX scripts

2009-03-26 Thread Raymond Irving
/blog/archives/2005/09/xmlhttp_notes_r_2.html You might find what you're looking for with the following ready state: 3 - Interactive Downloading, responseText holds the partial data. Raymond Irving Create Rich PHP Web Apps Today! Raxan PDI - http://raxanpdi.com/ --- On Thu, 3/26/09, jim white jbw2

Re: [PHP] newbe question

2009-03-25 Thread Raymond Irving
Hi Andres, I'm also new to this mailing list. The echo function does not insert a \n at the end of the line. Try removing the extra space after the ? __ Raymond Irving Create Rich PHP Web Apps Today! Raxan PDI - http://raxanpdi.com/ --- On Wed, 3/25/09, Andres Gonzalez