note 76151 modified in ref.apc by danbrown

From: Date: Thu, 18 Feb 2010 14:25:33 +0000
Subject: note 76151 modified in ref.apc by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-166126@lists.php.net to get a copy of this message
If you don't want any APC info visible without logging in, insert this code at line 173 of apc.php: <?php if (!$AUTHENTICATED) { echo '<div class="authneeded">You need to login to see the user values here!<br/>&nbsp;<br/>'; put_login_link("Login now!"); echo '</div>'; die(); } ?> --was-- If you don't want any APC info visible without logging in, insert this code at line 173 of apc.php: <? if (!$AUTHENTICATED) { echo '<div class="authneeded">You need to login to see the user values here!<br/>&nbsp;<br/>'; put_login_link("Login now!"); echo '</div>'; die(); } ?> http://php.net/manual/en/ref.apc.php

« previous php.notes (#166126) next »