note 89017 modified in function.error-reporting by danbrown

From: Date: Wed, 18 Feb 2009 14:38:35 +0000
Subject: note 89017 modified in function.error-reporting by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-150802@lists.php.net to get a copy of this message
Only display php errors to the developer... <?php if($_SERVER['REMOTE_ADDR']=="00.00.00.00") { ini_set('display_errors','On'); } else { ini_set('display_errors','Off'); } ?> Just replace 00.00.00.00 with your ip address. --was-- Only display php errors to the developer... if($_SERVER['REMOTE_ADDR']=="00.00.00.00") { ini_set('display_errors','On'); } else { ini_set('display_errors','Off'); } Just replace 00.00.00.00 with your ip address. http://php.net/manual/en/function.error-reporting.php

« previous php.notes (#150802) next »