Re: [PHP] WHILE LOOP PROBLEM

2009-03-27 Thread Craig Whitmore
On Fri, 2009-03-27 at 08:11 +, Andrew Williams wrote: > can some tell why the below loop stop running after some time. > > $start=10; > const run=0; > while($start >run){ > > //do somthing > > } > max_execution_time -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] RSS feeder in PHP5?

2009-01-12 Thread Craig Whitmore
On Mon, 2009-01-12 at 11:02 +, Richard Heyes wrote: > > Is there something in PHP5 which can generate the RSS feed? > > You don't need an extension to help you generate an XML feed. You > dimply output XML data instead of HTML and send an appropriate content > type header, eg: > > header('Con

[PHP] PHP5 DOM Problem

2008-12-05 Thread Craig Whitmore
Hi there. I don't kno id this is the correct place to post but... I am using the PHP5 DOM to make up RSS Feeds .. A Problem I have is I want to make this up for itunes.. http://www.itunes.com/dtds/podcast-1.0.dtd";> etc.. I use.. $p_dom = new DOMDocument('1.0','UTF-8'); $p_rss = $p_dom-