PHP Developer's Dictionary- P50:PHP is an open source, server-side, HTML-embedded scripting language used to create dynamically generated Web pages. With an easy-to-use syntax and a large, extensible library of modules, PHP brings together the best of Perl, C++, and other languages. | PHP Developer s Dictionary apache_note Syntax apache_note note name note value Description The apache_note function sendsand receives informationto the request s notes table. When the function ispassed one argument it returns the value of note_name. If apache_note is called with two arguments it sets the value of note_name to note_value andreturns the previous value of note_name. getallheaders Syntax getallheaders Description The getaiiheaders function returns an associative array of all the HTTP headers in the current HTTP request. All the header variables are available to you as individual PHP variables but this function presents those variables to you in a single array. virtual Syntax virtual filename Description The virtuai function is used to include a file defined by filename into the PHP request. This is equivalent to the Server Side Include SSI syntax inciude virtual filename . This function cannot be used to include a PHP file and if it encounters an error false 0 is returned. Mail Sending an email from a PHP script can be a very powerful tool. It is often used to alert users or administrators to specific conditions specified within the application. IT-SC book 245 PHP Developer s Dictionary The single maii function described in the following section is the interface to SMTP- and sendmail-compatible applications on a UNIX system and SMTP-compatible mail servers on Windows. mail Syntax mail recipient subject message additional headers Description The mail function is used to send an email with the body of the email specified bythe message parameter to the email address defined in recipient. The subject for the email isdefined by the subject parameter. Multiple recipients can bespecified by a comma-delimited list in recipient. Theoptional parameter additionai_headers is used to defineadditional header information that can be inserted at the end of the originalemail header. Multiple additional_headers are delimited withthe carriage return linefeed characters r