> I looked in the manual (twice now).  I want to keep logging to the log
> file but print to browser on this one script.
>
> I have in my script:
> error_reporting (E_ALL);
> error_reporting  (E_ERROR | E_WARNING | E_PARSE);
>
> but they're still only being logged to file.  I dont have access to
> php.ini.

Is display_errors enabled? You should be able to set either of these options
with ini_set().

If it's either log or display and you can't have both, then implement your
own error handler for the page, log the error, then display it also.

---John Holmes...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to