Re(2): [phplib] authentication and htaccess From: Gerry W. Paterson (g.w.paterson <email protected>)
Date: 08/11/00

>
>
>
>You can put most Apache directives into a .htaccess file, so take advantage
>
>of that feature. Make a special prepend file that first includes the
>
>current prepend.php3 file, then does a page open. Also create an append
>
>file that does a page_close. Then, in .htaccess, set those as the
>
>auto_prepend_file and auto_append_file. For PHP3:
>
>
>
>php3_auto_prepend_file your_file_name.php3
>
>php3_auto_append_file your_file_name.php3
>

Cheers,

I'm sure I can do something with that. Originally I was thinking of using
something like mod_auth_ora in a .htaccess but couldnt work out how to tie this
in with the sessions and not require 2 logins.

Gerry

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>