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