You are here: Re: PHP to RSS « PHP Programming Language « IT news, forums, messages
Re: PHP to RSS

Posted by Robertico on 09/23/06 06:41

> 1. Does your server execute code in other PHP scipts?
- Yes

> 2. Is this script saved with a *.php extension?
- Yes

> 3. What exactly do you see in the output that makes you think PHP code is
> not executed?
- My RSS reader (SharpReader, Feedreader) doesn't display the IP address
(php code). It displays only the description (tag).

> 4. What happens if you replace
>
> <?xml version="1.0"?>
>
> with
>
> <?php
> header('Content-Type: text/xml');
> echo '<?xml version="1.0"?>';
> ?>

- The same result in my RSS reader. (SharpReader, Feedreader)
- But when open it in a browser, it's xml formatted with the current IP
address between the <ipaddress> tags.
So the php code is executed.
My RSS reader (SharpReader, Feedreader) doesn't display the IP address
(php code). It displays only the description (tag).
It seems that it can't handle the <ipaddress> tag.

Regards,

Robertico

 

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

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