apache_note() does not work on requests to a symlink, only on actual files. Eg. if index.php is symlinked to login.php, then any apache_note() in login.php will not be available to other apache modules such as logging.
![]() |
|
||||||||||
|
apache_noteОписаниеstring apache_note ( string note_name [, string note_value] )Функция apache_note() является специфичной для сервера Apache, которая получает и устанавливает значения в таблице notes запроса. Возвращаемые значенияЕсли функция вызывается с одним аргументом, она возвращает текущее значение аннотации note_name. Если функция вызывается с двумя аргументами, она устанавливает значение аннотации note_name в note_value и возвращает предыдущее значение аннотации note_name. Если значение аннотации не может быть получено, будет возвращено FALSE. apache_note
ckm at NOSPAM dot crust dot net
16-Oct-2001 01:52
apache_note() does not work on requests to a symlink, only on actual files. Eg. if index.php is symlinked to login.php, then any apache_note() in login.php will not be available to other apache modules such as logging.
nathan at thelinuxcommunity dot org
06-Sep-2001 12:25
Used this with mod_layout... very handy. :) Used my PHP code in my header to check session variables and validate the session. If the session is not valid, I use apache_note to tell mod_layout not to display the content page or the footer, just the error page I generate in the header page.
fredrik dot ekengren at mandarinen dot se
24-Jul-2001 04:45
In a project I was involved in, we needed to pass data from mod_php4 to mod_perl. We used apache_note() to do the work for us.
leon at leonatkinson dot com
11-Sep-1999 03:48
This function is a wrapper for Apache's table_get and table_set. It |