<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >Miscellaneous Functions</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="Manual PHP" HREF="index.html"><LINK REL="UP" TITLE="Documentaþia funcþiilor" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="SWFTextField" HREF="function.swftextfield.html"><LINK REL="NEXT" TITLE="connection_aborted" HREF="function.connection-aborted.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-2"></HEAD ><BODY CLASS="reference" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Manual PHP</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.swftextfield.html" ACCESSKEY="P" >Înapoi</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.connection-aborted.html" ACCESSKEY="N" >Înainte</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.misc" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >LXIV. Miscellaneous Functions</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN63359" ></A ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="misc.intro" >Introducere</A ></H1 ><P > These functions were placed here because none of the other categories seemed to fit. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="misc.requirements" >Necesitãþi</A ></H1 ><P >Aceste funcþii sunt disponibile ca pãrþi ale modulului standard care este întotdeauna disponibil.</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="misc.installation" >Instalare</A ></H1 ><P >Nu este necesarã o instalare a acestor funcþii, ele fac parte din PHP.</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="misc.configuration" >Configurare la rulare</A ></H1 ><P > The behaviour of these functions is affected by settings in <TT CLASS="filename" >php.ini</TT >. </P ><P > <DIV CLASS="table" ><A NAME="AEN63374" ></A ><P ><B >Tabel 1. Misc. Configuration Options</B ></P ><TABLE BORDER="1" CLASS="CALSTABLE" ><COL><COL><COL><THEAD ><TR ><TH >Name</TH ><TH >Default</TH ><TH >Changeable</TH ></TR ></THEAD ><TBODY ><TR ><TD >ignore_user_abort</TD ><TD >"0"</TD ><TD >PHP_INI_ALL</TD ></TR ><TR ><TD >highlight.string</TD ><TD >#DD0000</TD ><TD >PHP_INI_ALL</TD ></TR ><TR ><TD >highlight.comment</TD ><TD >#FF9900</TD ><TD >PHP_INI_ALL</TD ></TR ><TR ><TD >highlight.keyword</TD ><TD >#007700</TD ><TD >PHP_INI_ALL</TD ></TR ><TR ><TD >highlight.bg</TD ><TD >#FFFFFF</TD ><TD >PHP_INI_ALL</TD ></TR ><TR ><TD >highlight.default</TD ><TD >#0000BB</TD ><TD >PHP_INI_ALL</TD ></TR ><TR ><TD >highlight.html</TD ><TD >#000000</TD ><TD >PHP_INI_ALL</TD ></TR ><TR ><TD >browscap</TD ><TD >NULL</TD ><TD >PHP_INI_SYSTEM</TD ></TR ></TBODY ></TABLE ></DIV > For further details and definition of the PHP_INI_* constants see <A HREF="function.ini-set.html" ><B CLASS="function" >ini_set()</B ></A >. </P ><P >Here's a short explanation of the configuration directives.</P ><P > <P ></P ><DIV CLASS="variablelist" ><DL ><DT ><A NAME="ini.ignore-user-abort" ></A ><VAR CLASS="parameter" >ignore_user_abort</VAR > <A HREF="language.types.boolean.html" ><B CLASS="type" >boolean</B ></A ></DT ><DD ><P > <TT CLASS="constant" ><B >TRUE</B ></TT > by default. If changed to <TT CLASS="constant" ><B >FALSE</B ></TT > scripts will be terminated as soon as they try to output something after a client has aborted their connection. </P ><P > See also <A HREF="function.ignore-user-abort.html" ><B CLASS="function" >ignore_user_abort()</B ></A >. </P ></DD ><DT ><A NAME="ini.syntax-highlighting" ></A ><VAR CLASS="parameter" >highlight.bg</VAR > <A HREF="language.types.string.html" ><B CLASS="type" >string</B ></A >, <VAR CLASS="parameter" >highlight.comment</VAR > <A HREF="language.types.string.html" ><B CLASS="type" >string</B ></A >, <VAR CLASS="parameter" >highlight.default</VAR > <A HREF="language.types.string.html" ><B CLASS="type" >string</B ></A >, <VAR CLASS="parameter" >highlight.html</VAR > <A HREF="language.types.string.html" ><B CLASS="type" >string</B ></A >, <VAR CLASS="parameter" >highlight.keyword</VAR > <A HREF="language.types.string.html" ><B CLASS="type" >string</B ></A >, <VAR CLASS="parameter" >highlight.string</VAR > <A HREF="language.types.string.html" ><B CLASS="type" >string</B ></A ></DT ><DD ><P > Colors for Syntax Highlighting mode. Anything that's acceptable in <font color="??????"> would work. </P ></DD ><DT ><A NAME="ini.browscap" ></A ><VAR CLASS="parameter" >browscap</VAR > <A HREF="language.types.string.html" ><B CLASS="type" >string</B ></A ></DT ><DD ><P > Name (e.g.: <TT CLASS="filename" >browscap.ini</TT >) and location of browser capabilities file. See also <A HREF="function.get-browser.html" ><B CLASS="function" >get_browser()</B ></A >. </P ></DD ></DL ></DIV > </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="misc.resources" >Tipuri de resurse</A ></H1 ><P >Aceastã extensie nu defineºte tipuri de resurse.</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="misc.constants" >Constante predefinite</A ></H1 ><P > Aceste constante sunt definite de aceastã extensie ºi vor fi disponibile doar cînd extensia a fost fie compilatã odatã la instalarea PHP fie dacã extensia este încãrcatã dinamic la rulare.</P ><P ></P ><DIV CLASS="variablelist" ><DL ><DT ><TT CLASS="constant" ><B >CONNECTION_ABORTED</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >CONNECTION_NORMAL</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ><DT ><TT CLASS="constant" ><B >CONNECTION_TIMEOUT</B ></TT > (<A HREF="language.types.integer.html" ><B CLASS="type" >integer</B ></A >)</DT ><DD ><P > </P ></DD ></DL ></DIV ></DIV ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Cuprins</B ></DT ><DT ><A HREF="function.connection-aborted.html" >connection_aborted</A > -- Returns <TT CLASS="constant" ><B >TRUE</B ></TT > if client disconnected</DT ><DT ><A HREF="function.connection-status.html" >connection_status</A > -- Returns connection status bitfield</DT ><DT ><A HREF="function.connection-timeout.html" >connection_timeout</A > -- Return <TT CLASS="constant" ><B >TRUE</B ></TT > if script timed out</DT ><DT ><A HREF="function.constant.html" >constant</A > -- Returns the value of a constant</DT ><DT ><A HREF="function.define.html" >define</A > -- Defines a named constant.</DT ><DT ><A HREF="function.defined.html" >defined</A > -- Checks whether a given named constant exists </DT ><DT ><A HREF="function.die.html" >die</A > -- Equivalent to <A HREF="function.exit.html" ><B CLASS="function" >exit()</B ></A ></DT ><DT ><A HREF="function.eval.html" >eval</A > -- Evaluate a string as PHP code</DT ><DT ><A HREF="function.exit.html" >exit</A > -- Output a message and terminate the current script</DT ><DT ><A HREF="function.get-browser.html" >get_browser</A > -- Tells what the user's browser is capable of </DT ><DT ><A HREF="function.highlight-file.html" >highlight_file</A > -- Syntax highlighting of a file</DT ><DT ><A HREF="function.highlight-string.html" >highlight_string</A > -- Syntax highlighting of a string</DT ><DT ><A HREF="function.ignore-user-abort.html" >ignore_user_abort</A > -- Set whether a client disconnect should abort script execution </DT ><DT ><A HREF="function.pack.html" >pack</A > -- Pack data into binary string.</DT ><DT ><A HREF="function.php-check-syntax.html" >php_check_syntax</A > -- Check the syntax of the specified file </DT ><DT ><A HREF="function.php-strip-whitespace.html" >php_strip_whitespace</A > -- Return source with stripped comments and whitespace </DT ><DT ><A HREF="function.show-source.html" >show_source</A > -- Alias of <A HREF="function.highlight-file.html" ><B CLASS="function" >highlight_file()</B ></A ></DT ><DT ><A HREF="function.sleep.html" >sleep</A > -- Delay execution</DT ><DT ><A HREF="function.time-nanosleep.html" >time_nanosleep</A > -- Delay for a number of seconds and nano seconds </DT ><DT ><A HREF="function.uniqid.html" >uniqid</A > -- Generate a unique ID</DT ><DT ><A HREF="function.unpack.html" >unpack</A > -- Unpack data from binary string</DT ><DT ><A HREF="function.usleep.html" >usleep</A > -- Delay execution in microseconds</DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.swftextfield.html" ACCESSKEY="P" >Înapoi</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Acasã</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.connection-aborted.html" ACCESSKEY="N" >Înainte</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >SWFTextField</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" ACCESSKEY="U" >Sus</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >connection_aborted</TD ></TR ></TABLE ></DIV ></BODY ></HTML >