note 45951 deleted from function.print-r by aidan

From: Date: Mon, 11 Oct 2004 13:07:24 +0000
Subject: note 45951 deleted from function.print-r by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-78343@lists.php.net to get a copy of this message
Note Submitter: linux at vvoois dot speedxs dot nl ---- Though print_r supplies every variable that comes with the array, there are situations when the array can contain different extra elements you usually won't see... ---begin index404.php--- <?php print_r($_SERVER).'<br>' ?> ---end index404.php--- ---begin .htaccess--- ErrorDocument 404 /index404.php ---end .htaccess--- (note you can also change this ErrorDocument variable in your httpd.conf) When type in the http://yoursite/index404.php url in your browser, you will notice a difference in output than when you type in http://yoursite/justawrongguess (to invoke a 404 error).

« previous php.notes (#78343) next »