Re: error reporting php-5.0.4-10.4 on FC4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2005-10-23 at 21:31 -0400, Bob Hartung wrote:
> Jasper
>    If if make a file containing only
>    <?php
>      phpinfo() ;
>    ?>
>    I get what I expected.
> 
>    If I make a file containing
> <?php
> 
> phpinfo() ;
> 
> // Now a simple class and a call to the class
> 	class Simple()

Your error is here    ^^ (brackets shouldn't be there)

But PHP should tell you that by throwing a Fatal error. What are the
values of error_reporting and display_errors that display in the
phpinfo() output?

By the way, the "<html><body></body></html>" is put there by your
browser, not PHP. PHP is actually outputting absolutely nothing in the
response-body.

-- 
Jasper Bryant-Greene
General Manager
Album Limited

e: jasper@xxxxxxxxxxx
w: http://www.album.co.nz/
p: 0800 4 ALBUM (0800 425 286) or +64 21 232 3303
a: PO Box 579, Christchurch 8015, New Zealand

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux