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 wrot

Re: [PHP] flushing AJAX scripts

2009-03-26 Thread Raymond Irving
e.org/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

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¥ wrote

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

2009-04-08 Thread Raymond Irving
e control and start building powerful web apps 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 wrote: > From: Michael A. Peters > Subject: Re: [PHP] How can I echo a javascript

[PHP] How about a saveXHTML for the DOM?

2009-04-08 Thread Raymond Irving
, it does not always 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?

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

2009-04-10 Thread Raymond Irving
XML() does not preserve html entities. So things like © gets converted to ©. Sometimes working with saveHTML and saveXML is like being caught between a rock and a hard place. I'm trying to figure out which would be easier to do: Going from saveHTML() to XHTML Going from saveXML() to XHTM

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 wrote: > From: Paul M Foster > Subject: [PHP] A Tool For Building PHP Web Apps > To: php-general@lists.php.net > Date: Friday, April 10, 2009, 1:28 AM > Here's a hai

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 to the end of the tags? This is normally the case if the html content was loaded using loadHTMLFile() __ Raymond Irving --- On Fri, 4/10

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

2009-04-11 Thread Raymond Irving
opers 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 wrote: &

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

2009-04-12 Thread Raymond Irving
a|link|base|basefont|param|img|br|hr|area|input)>/',' />',$html); return $html; } What do you 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
just fine 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(' ','',$html); Best regards, __ Raymond Irving --- On Sun, 4/12/09, Raymond Irving wrote: > From: Raymond Irving > Subject: [PHP] Generate XHTML (HTML

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 wrote: > From: Michael A. Peters > 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
For online examples checkout: http://raxanpdi.com/examples.html __ Raymond Irving --- On Mon, 4/13/09, Michael Shadle wrote: > From: Michael Shadle > Subject: Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument > To: "Raymond Irving" > Cc: "php-genera

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

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

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

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

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 wrote: > From: Michael A. Peters > Subject: Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument > To: "Raymond Irving" > Cc: php-general@lists.php.net > Date: Tuesday

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

2009-04-15 Thread Raymond Irving
owser? __ Raymond Irving --- On Tue, 4/14/09, Michael Shadle wrote: From: Michael Shadle Subject: Re: [PHP] Generate XHTML (HTML compatible) Code using DOMDocument To: "Raymond Irving" Cc: "php-general@lists.php.net" Date: Tuesday, April 14, 2009, 8:26 PM As michael said my

Re: [PHP] 800 pound gorilla

2009-04-20 Thread Raymond Irving
will change. It might not be business as usual. __ Raymond Irving --- On Mon, 4/20/09, Sancar Saran wrote: From: Sancar Saran 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 Marc Christopher Hall wrote: &

Re: [PHP] DateInterval

2009-04-29 Thread Raymond Irving
functions. Best regards, __ Raymond Irving --- On Wed, 4/29/09, MIke Alaimo wrote: From: MIke Alaimo 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 DateInterval::format().  The documentation is

[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
rs 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. __ Ra

Re: [PHP] Two very useful PHP functions

2009-04-30 Thread Raymond Irving
) + overhead 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 wrote: >

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 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 art

[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: Parsing of forms

2009-05-20 Thread Raymond Irving
= str_replace('&toppings=','&toppings[]=',$qry); parse_str($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 wrote: Yeah, and php://input should be able to handle

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/ __ Ra

[PHP] A Rich Ajax Application Frameowrk for PHP

2009-05-22 Thread Raymond Irving
ction 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] General Web Development Editor/IDE

2009-05-25 Thread Raymond Irving
need/want (contextual syntax coloring 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

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 wrote: > From: Jonesy > Subject: [PHP] Re: Zebra Striped Table Example > To: php-general@lists.php.net > Date: Mon

Re: [PHP] Zebra Striped Table Example

2009-06-03 Thread Raymond Irving
try to see how easy it is to create both Ajax and Non-Ajax webpages. 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 (htt

Re: [PHP] Zebra Striped Table Example

2009-06-04 Thread Raymond Irving
eason why it appears to not be working at all. Best regards, __ Raymond Irving --- On Thu, 6/4/09, Ashley Sheridan wrote: > From: Ashley Sheridan > Subject: Re: [PHP] Zebra Striped Table Example > To: "Raymond Irving" > Cc: "'PHP-General List'" > Da

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

2009-08-19 Thread Raymond Irving
el free to send 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 wrote

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

2009-08-20 Thread Raymond Irving
Best regards __ Raymond Irving --- On Thu, 8/20/09, Nathan Nobbe wrote: From: Nathan Nobbe Subject: Re: [PHP] PHP/Ajax Framework - Call for Developers & Testers To: "Raymond Irving" Cc: php-general@lists.php.net Date: Thursday, August 20, 2009, 1:31 PM ive seen lots of third par

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
mg']->node(0); You can download Raxan here: http://raxanpdi.com/downloads.html __ Raymond Irving --- On Sat, 8/22/09, Manuel Lemos wrote: From: Manuel Lemos Subject: [PHP] Re: How do I extract link text from anchor tag as well as the URL from the "href" attribute To: "chr

Re: [PHP] a doubt with class DOM

2009-09-03 Thread Raymond Irving
It works ok for me and I think it's very reliable. You might want to run a few test on it though. Another approach is to break up your xml into smaller documents and then use php string functions to merge them together. __ Raymond Irving Rich Ajax/PHP Development http://raxanpdi.com -

[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] Native support to MS SQL Server

2009-10-10 Thread Raymond Irving
--- On Fri, 10/9/09, Ashley Sheridan 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 that are built with MSSQL

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

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 To: Raymond Irving Cc: php-general@lists.php.net Sent: Sun, Octobe

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

2009-10-26 Thread Raymond Irving
This works if you know the name of the class. What I'm looking for is a way to get one of the sub classes and initialize it dynamically. From: David Otton To: Raymond Irving Cc: PHP-General List Sent: Sun, October 25, 2009 10:25:27 AM Subject: Re:

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 To: Raymond Irving Cc: PHP-Ge

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

2009-10-27 Thread Raymond Irving
y Thanks From: Martin Scotta To: Raymond Irving Cc: David Otton ; PHP-General List Sent: Mon, October 26, 2009 8:34:05 PM Subject: Re: [PHP] How to Get the Sub Classes of a Parent Class On Mon, Oct 26, 2009 at 10:22 PM, Raymond Irving wrote: >>This works if you know t

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

2009-11-05 Thread Raymond Irving
can't be fixed From: Ashley Sheridan To: Raymond Irving Cc: PHP-General List Sent: Thu, November 5, 2009 6:09:19 AM Subject: Re: [PHP] Why getcwd() returs different results? On Wed, 2009-11-04 at 17:36 -0800, Raymond Irving wrote: Hello, > >The getcwd() method returns a different path

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 To: PHP General Sent: Thu, November 12, 2009 7:55:56 PM Subject: [PHP] is Aptana taking a crap on the face of PHP? Who

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

2009-11-25 Thread Raymond Irving
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 I

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

2009-12-07 Thread Raymond Irving
ed in further 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
e keyboard. Best regards, __ Raymond Irving Raxan for PHP - Building Rich Applications one Page at a Time ____ From: German Geek To: Raymond Irving Cc: PHP-General List Sent: Mon, December 7, 2009 5:16:04 PM Subject: Re: [PHP] Live PHP Code Templates for NetB

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 s

[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 su

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

2010-06-06 Thread Raymond Irving
alert(html); '; $dom = new DOMDocument(); $dom->loadHTML($html); echo $dom->saveHTML(); ?> Best regards __ Raymond Irving

[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";>