Date: 05/29/01
- Next message: Baerbel Deisting: "[phplib] Fatal error: Failed opening required '/usr/local/httpd/php/prepend.php3' in /usr/local/httpd/htdocs/index.php3 on line 0"
- Previous message: Stephen Woodbridge: "[phplib] Uploading files and where to store them"
- Maybe in reply to: darcy w. christ: "[phplib] pre-authorization page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
-----Oprindelig meddelelse-----
Fra: darcy w. christ <darcy <email protected>>
>would like to be able to offer an explanation for the different points
>of access, with a simple [proceed] button or a [return] button, if they
>are not willing to login. Has anyone encountered this before? Does
>anyone have any ideas how to provide a variable pre-login page which
>would come before the authentication page and before the page which is
>protected? i appreciate the suggestions. Thanks.
As I recall it, the login page is actually included (via page_open() and auth->start()) in the page being accessed. This means that you can add code in loginform.ihtml to display variable information based on the value of $PHP_SELF (remember to global it). [Proceed] then becomes Login, and you could use $HTTP_REFERER or javascript to implement [Return]. Or whatever. If you feel like it, you could also delve into a solution based on templates...
-- Klaus.
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Baerbel Deisting: "[phplib] Fatal error: Failed opening required '/usr/local/httpd/php/prepend.php3' in /usr/local/httpd/htdocs/index.php3 on line 0"
- Previous message: Stephen Woodbridge: "[phplib] Uploading files and where to store them"
- Maybe in reply to: darcy w. christ: "[phplib] pre-authorization page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

