Re: how to : allow access to a page from another one
| From: | Sandino Araico Sánchez | Date: | Fri, 20 Oct 2000 03:40:06 +0000 |
| Subject: | Re: how to : allow access to a page from another one | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-21325@lists.php.net to get a copy of this message | ||
Tan Minh TRUONG wrote:
Hello, I'd like to prevent the access to a page until a special user unlock it. That is to say, when the super user says the page is available, everybody can access it. When the super user says it is locked, no one can open it. In fact I want to have a permanent value for a boolean variable. Does anybody has an idea ? if(locked($pageid))include $locked_html; else include page_file_name($pageid); -- Sandino Araico Sánchez En lo personal prefiero las comidas a las juntas..... Las comidas son mucho más productivas y además te alimentan....