Re: [PHP] PHP Errors to screen



Adam Gerson wrote:
Where do I change the setting to print PHP errors to the screen when running in a web browser?

Thanks,
Adam



At the top of your script put these lines

<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);

--
Jim Lucas

"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
by William Shakespeare

.



Relevant Pages

  • Re: [PHP] OOP in PHP
    ... superclass koneksi dipanggil ... Jim Lucas wrote: ... "Some men are born to greatness, some achieve greatness, ...
    (php.general)
  • RE: [PHP] Looking for help with forms/variables and an array!
    ... -> first initial query performed ... <?php do {?> ... where is your second form in this example? ... "Some men are born to greatness, some achieve greatness, ...
    (php.general)
  • Re: [PHP] PHP calling an ISAPI Extension
    ... infer is when you draw a conclusion based on what one already knows. ... "Jim Lucas" wrote in message ... > also can't expect people to rebuild PHP with the curl library just to ... >> "Some men are born to greatness, some achieve greatness, ...
    (php.general)
  • Re: [PHP] OOP in PHP
    ... superclass koneksi dipanggil ... Jim Lucas wrote: ... "Some men are born to greatness, some achieve greatness, ...
    (php.general)
  • Re: [PHP] automatic caller
    ... I know I can do this with asterisk and it's php ... The name I think was phpvox. ... I did a quit google search but couldn't find any references. ... "Some men are born to greatness, some achieve greatness, ...
    (php.general)