PHP handleiding

PHP TUIS PHP Inleiding PHP installeer PHP sintaksis PHP opmerkings PHP veranderlikes PHP Echo / Druk PHP datatipes PHP Strings PHP-nommers PHP Wiskunde PHP konstante PHP-operateurs PHP As...Anders...Elseif PHP skakelaar PHP-lusse PHP funksies PHP-skikkings PHP Superglobals PHP RegEx

PHP- vorms

PHP-vormhantering PHP-vorm validering PHP-vorm word vereis PHP-vorm URL/e-pos PHP-vorm voltooi

PHP Gevorderd

PHP datum en tyd PHP sluit in PHP-lêerhantering PHP-lêer oop/lees PHP-lêer skep/skryf PHP-lêer oplaai PHP-koekies PHP-sessies PHP filters PHP-filters Gevorderd PHP-terugbelfunksies PHP JSON PHP-uitsonderings

PHP OOP

PHP Wat is OOP PHP Klasse/Objekte PHP Konstrukteur PHP vernietiger PHP Toegangswysigers PHP erfenis PHP konstante PHP Abstrakte Klasse PHP-koppelvlakke PHP eienskappe PHP statiese metodes PHP Statiese Eienskappe PHP naamruimtes PHP Iterables

MySQL- databasis

MySQL-databasis MySQL Connect MySQL Skep DB MySQL Skep tabel MySQL Voeg data in MySQL Kry Laaste ID MySQL Voeg veelvuldige in MySQL voorberei MySQL Kies Data MySQL Waar MySQL Bestel deur MySQL verwyder data MySQL-opdateringsdata MySQL-limietdata

PHP XML

PHP XML-ontleders PHP SimpleXML-ontleder PHP SimpleXML - Kry PHP XML Expat PHP XML DOM

PHP - AJAX

AJAX Intro AJAX PHP AJAX-databasis AJAX XML AJAX Live Search AJAX-peiling

PHP voorbeelde

PHP voorbeelde PHP samesteller PHP vasvra PHP Oefeninge PHP-sertifikaat

PHP- verwysing

PHP Oorsig PHP Skikking PHP-kalender PHP datum PHP gids PHP fout PHP-uitsondering PHP lêerstelsel PHP filter PHP FTP PHP JSON PHP sleutelwoorde PHP Libxml PHP-pos PHP Wiskunde PHP Diverse PHP MySQLi PHP-netwerk PHP-uitsetbeheer PHP RegEx PHP SimpleXML PHP-stroom PHP-string PHP veranderlike hantering PHP XML-ontleder PHP zip PHP Tydsones

PHP Diverse. Funksies


PHP Diverse Inleiding

Die misc. funksies is slegs hier geplaas omdat nie een van die ander kategorieë gelyk het om te pas nie.


Installasie

Die misc. funksies is deel van die PHP-kern. Geen installasie is nodig om hierdie funksies te gebruik nie.


Runtime-konfigurasie

Die gedrag van die div. funksies word beïnvloed deur instellings in die php.ini-lêer.

Misc. konfigurasie opsies:

Name Description Default Changeable
ignore_user_abort FALSE indicates that scripts will be terminated as soon as they try to output something after a client has aborted their connection "0" PHP_INI_ALL
highlight.string Color for highlighting a string in PHP syntax "#DD0000" PHP_INI_ALL
highlight.comment Color for highlighting PHP comments "#FF8000" PHP_INI_ALL
highlight.keyword Color for syntax highlighting PHP keywords (e.g. parenthesis and semicolon) "#007700" PHP_INI_ALL
highlight.default Default color for PHP syntax "#0000BB" PHP_INI_ALL
highlight.html Color for HTML code "#000000" PHP_INI_ALL
browscap Name and location of browser-capabilities file (e.g. browscap.ini) NULL PHP_INI_SYSTEM


PHP Diverse funksies

Function Description
connection_aborted() Checks whether the client has disconnected
connection_status() Returns the current connection status
connection_timeout() Deprecated from PHP 4.0.5. Checks whether the script has timed out
constant() Returns the value of a constant
define() Defines a constant
defined() Checks whether a constant exists
die() Alias of exit()
eval() Evaluates a string as PHP code
exit() Prints a message and exits the current script
get_browser() Returns the capabilities of the user's browser
__halt_compiler() Halts the compiler execution
highlight_file() Outputs a file with the PHP syntax highlighted
highlight_string() Outputs a string with the PHP syntax highlighted
hrtime() Returns the system's high resolution time
ignore_user_abort() Sets whether a remote client can abort the running of a script
pack() Packs data into a binary string
php_strip_whitespace() Returns the source code of a file with PHP comments and whitespace removed
show_source() Alias of highlight_file()
sleep() Delays code execution for a number of seconds
sys_getloadavg() Returns the system load average
time_nanosleep() Delays code execution for a number of seconds and nanoseconds
time_sleep_until() Makes a script sleep until the specified time
uniqid() Generates a unique ID
unpack() Unpacks data from a binary string
usleep() Delays code execution for a number of microseconds

PHP Vooraf gedefinieerde Misc. Konstante

Constant Description
CONNECTION_ABORTED Connection is aborted by user or network error
CONNECTION_NORMAL Connection is running normally
CONNECTION_TIMEOUT Connection timed out
__COMPILER_HALT_OFFSET__