note 22865 added to faq.misc
| From: | graef at milanomedien dot com | Date: | Tue, 02 Jul 2002 17:11:06 +0000 |
| Subject: | note 22865 added to faq.misc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32511@lists.php.net to get a copy of this message | ||
you can do this by defining a php-script as a handler for special files:
AddHandler xmldoc xml
Action xmldoc /xmlparse.php4
so for every file with .xml ending the client requests, the xmlparse.php4 would get executed and the
path to the script is set in $PATH_INFO, so you can write your own handlers for special file types
(okay its not exactly a mod_xxx but its truly near on that)
--
http://www.php.net/manual/en/faq.misc.php
http://master.php.net/manage/user-notes.php?action=edit+22865
http://master.php.net/manage/user-notes.php?action=delete+22865
http://master.php.net/manage/user-notes.php?action=reject+22865