Chris Shiflett wrote:

A "parser" is called every time a page is accessed. If no page is defined, the home page is loaded. Subsequent pages are linked with

http://dictionary.reference.com/search?q=parser


Very amusing.
Okay, "dispatcher" would probably be a better name. It preps the environment before including the page's code.


Is there a way to use a parser as above and still have httpd recognize the need for a name/password?

I'm sure there are many ways. You could check for the .htaccess yourself before including the file, and require HTTP authentication where appropriate. What you can't do, however, is presume that you can write a script that handles requests instead of Apache and magically have your code do everything Apache does.

I do *NOT* want to duplicate the httpd functionality, I want to preserve it.

--
jimoe at sohnen-moe dot com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to