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
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
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
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
, 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?
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
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
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
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:
&
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
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
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
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
>
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
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" ,
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
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
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
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:
&
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
they make it into 5.3?
Best regards
__
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
) + 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:
>
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
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
= 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
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
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
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
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
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
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
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
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
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
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
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
-
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
--- 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
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:
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:
Hello,
Does any know of an optimized solution to get all the subclasses for a parent
class?
__
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
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:
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
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
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
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
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
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!
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
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
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
alert(html);
';
$dom = new DOMDocument();
$dom->loadHTML($html);
echo $dom->saveHTML();
?>
Best regards
__
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";>