infoCopter

home | newsletter | site map
Free Stuff
: links
: downloads
: Neue Surf Tips
: know-how
: Zitate
: HTML Checker



Activities
--in spare time

: vorträge



About IC
: friends
: lust und frust
: guestbook
: what's new

[ know-how ] - [ my php ] - Helpers


See also
Printable VersionPrinter-friendly

Helpers

error_log() ist eine PHP buildin Funktion!


  error_log

(PHP 3, PHP 4 )

error_log -- send an error message somewhere


    Description

int *error_log* ( string message [, int message_type [, string 
destination [, string extra_headers]]])

Sends an error message to the web server's error log, a TCP port or to a 
file. The first parameter, /message/, is the error message that should 
be logged. The second parameter, /message_type/ says where the message 
should go:




des isch um arrays zu errorloggen:


function log_var_dump($var) {
    ob_start();
    var_dump($var);
    error_log(ob_get_contents());
    ob_end_clean();
}       



[Blue Ribbon Campaign icon]
Join the Blue Ribbon Online Free Speech Campaign!

©1998-2002 infoCopter