Jump to content

amitrus

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

amitrus's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I am currently trying to include php code in a .xml file.  The file would look something like this <?xml version="1.0" encoding="UTF-8" ?> <rss version="2.0"> <channel> <title></title> <link></link> <description></description> <language>en-us</language> <copyright></copyright> <item> <title></title> <description> <?php echo $value; ?>  </description> </item> </channel> </rss> But I need to get my server to see the php in the .xml file. (The extension has to be .xml) How can I do this?  I've been fooling around with the .htaccess file, but still can't make my server see the php in a .xml file (I did manage, however, to make it see the php in a .html file by changing the .htaccess file.).  Can anyone help me? 
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.