Posted by andrey on 09/22/06 16:57
> I can't get i to work.
> When i saved it as php file, the php code isn't executed.
>
> <?xml version="1.0"?>
> <rss version="2.0">
> <channel>
> <title>MyTitle</title>
> <link>http://www.mydomain.com/</link>
> <description>MYDescription</description>
> <item>
> <title>YourIP</title>
> <link>http://www.mydomain.com/yourip.php</link>
> <description>Your current IP</description>
> <ipaddress><?php echo getenv ("REMOTE_ADDR");?></ipaddress>
> </item>
> </channel>
> </rss>
What extension have your file?
..xml? or .php?
Support your server PHP or NOT?
Navigation:
[Reply to this message]
|