Forum Moderators: coopster
Is there a way to show the errror_report only to me ?
I meanmy host has it turned of which i dont mind..as i can turn it on ny adding php_flag display_errors on to my htaccess.
But if i turn it on everybody will see the errors and thats not nice to work with.
is there a way that it will only show to me as admin or to IP ?
if ($_SERVER['HTTP_USER_AGENT'] == 'custom_user_agent') {
ini_set('display_errors', '1');
}
I find this works well when, say, three people are working on a site from different locations/ips. They can all work in 'dev mode' - so to speak.