Subscribe to this feed

Navigation

Recent Posts

Archive

Dynamic XML in PHP Application

Sunday 18 Feb, 2007 - 14:59pm | 0 comments |

To generate dynamic XML in your PHP application add the following line to your Apache httpd.conf file

AddType application/x-httpd-php .xml

XML files will then be parsed as if they are PHP. You can add your PHP scripts to the file to generate dynamic content and then use mod rewrite to turn the URL into a friendly one, i.e. turn something like  dynamic.xml?company=eriginal into eriginal.xml

Posted in: Business
Tags: XML | PHP | Apache | Web database

Comment
 | Link | back to top | del.icio.us digg it furl reddit

© Eriginal Ltd 2011, all rights reserved