You are here: Re: [PHP] Can't even make a simple test RSS feed « PHP « IT news, forums, messages
Re: [PHP] Can't even make a simple test RSS feed

Posted by Joe Muddah on 06/24/05 22:31

go view->source in your browser. Some browsers will not show the xml
all though it is in the source

On 6/24/05, Brian Dunning <brian@briandunning.com> wrote:
> What am I doing wrong? This doesn't work. The browser does not even
> load the page, no error or anything:
>
> <?php
>
> echo '<?xml version="1.0"?><rss version="2.0"><channel>';
> echo '<item>';
> echo '<title>hdfghdf</title>';
> echo '<description>dfghdfh</description>';
> echo '<link>http://somelink</link>';
> echo '</item>';
> echo '</channel></rss>';
>
> ?>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация