Hello, I'm a PHP newbie who needs to serve a custom file format and turn it into valid XHTML. I can imagine someone using a similar technique to remove all comments from HTML files as they're being served, etc.
I've configured Apache so that it assigns the file extension to PHP and prepends PHP code to create a pageServer object and call its render method. So far, so good. Now I need to process the file (minus the prepended PHP), and deliver the XHTML result rather than the original file. I'm thinking that there must be an easy way to do this, and would appreciate any tips. Thank you, -- Charles Wiltgen "Well, once again my friend, we find that science is a two-headed beast. One head is nice, it gives us aspirin and other modern conveniences... but the other head of science is bad! Oh beware the other head of science...it bites!" -- The Tick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php