For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > February 2006 > Re: [PHP-INSTALL] PHP as an NSAPI Filter?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] PHP as an NSAPI Filter?
temp_php@maniacalrage.net

2006-02-15, 6:57 pm

> Basically, I need to do the following (all before returning content to the
> client and on EVERY request):
>
> 1. Check user's cookies.
> 2. Grab some XML from the server and check user's cookie and requested file
> against XML matrix of permissions.
> 3. Validate permissions and either send user through or send them to login
> page.
>
> Is this doable? This is urgent--please help!


I should be more clear here--I don't want to parse files on the server AS php, I
want to run PHP before
every request is loaded. Therefore, if a client requests blah.html, I want
this.php to run FIRST and have the
power to redirect.

Does anyone know if it works like this?

g
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com