1
0
mirror of https://github.com/php/web-php.git synced 2026-03-25 07:42:17 +01:00
Files
archived-web-php/apachecon/s_apache.php3
Rasmus Lerdorf 2424277ad8 Add main slides
1998-10-21 23:44:28 +00:00

20 lines
549 B
PHP
Executable File

<?php require "header.inc"?>
<H1>Apache-specific Functions</H1>
<UL>
<?example('<?virtual("/status/");?>');?>
<LI>Virtual() makes an Apache sub-request.
<?example('<?$a = getallheaders();
while (list($key,$value) = each($a)) {
echo "$key: $value<BR>";
}
?>');?>
<LI>Builds an array containing all of the request headers.
<?example('<?apache_note("key", "value");
$note = apache_note("key");
?>');?>
<LI>Set and get entries from the Apache request notes table
(communicate with other modules).
</UL>
<?php require "footer.inc"?>