Parse XML Files as PHP
Like this blog? Consider exploring one of our sponsored banner ads...
Here is a simple apache trick to parse xml files as php by adding a line to your htaccess file. You could add other extensions as well that you wanted to parse as php. An example when you would want to use this is for a dynamic xml file.
AddType application/x-httpd-php .php .xml
Note: The application type may differ slightly depending on your server configuration of php
About this entry
You’re currently reading “Parse XML Files as PHP,” an entry on BRADINO
- Published:
- 3.29.07 / 4pm
- Category:
- Apache
- Tags:
No comments
Jump to comment form | comments rss [?]