Microsoft Word - Core PHP Programming Using PHP to Build Dynamic Web Sites

(singke) #1

string apache_note(string name, string value)


The apache_note function allows you to fetch and set values in Apache's note table.
The current value of the named entry is returned. If the optional value argument is
present, then the value of the entry will be changed to the supplied value. The notes table
exists for the duration of the request made to the Apache Web Server and is available to
any modules activated during the request. This function allows you to communicate with
other Apache modules. One possible use of this functionality is the passing of
information to the logging module.


Like apache_lookup_uri, the apache_note function deals with request records
inside the Apache API. And like apache_lookup_uri, this function is available only
when PHP is run as an Apache module. This function is a wrapper for the table_get
and table_set functions that are part of the Apache API.


<?

Free download pdf