note 88757 deleted from class.domdocument by thiago
| From: | thiago@php.net | Date: | Fri, 06 Feb 2009 15:08:29 +0000 |
| Subject: | note 88757 deleted from class.domdocument by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-150304@lists.php.net to get a copy of this message | ||
Note Submitter: mpeters at mac dot com
----
Fernando H wrote -
"If you want your PHP->DOM code to run under the .xml extension, you should set your
webserver up to run the .xml extension with PHP"
If you use apache, you can also name your file with a php extension and use a mod_rewrite rule to
fetch the php file when the xml file is requested. That way you don't have to set up apache to
process the xml extension as php.