View Single Post
Old 12-22-2008, 09:56 PM  
TheDoc
Too lazy to set a custom title
 
TheDoc's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: Currently Incognito
Posts: 13,827
The xml file, should really be a php file.. just named .xml

You can set that in your htaccess file with this.
Code:
Options -indexes
<Files xml>
ForceType application/x-httpd-php
</Files>
Then you can do your code, and spit the proper header content-type out. Allowing you to start and stop the needed php in the xml for the nats strings, or anything else code wise you want to do.
__________________
~TheDoc - ICQ7765825
It's all disambiguation
TheDoc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote