This is a discussion on To Justin & all who helped within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hi all First thank you to Justin and others who helped for all the help. I am new to PHP ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all
First thank you to Justin and others who helped for all the help. I am new to PHP and although I have done DB3 before(yep I am old--teehee),PHP is very different in many ways. I do have a question...Can PHP display error messages on the screen & also log them? That was the main problem this time. I didn't know that PHP logged its errors but now that I know this that is the first place I'll go from now on. I am trying to teach myself PHP. Thanks again, Tony |
|
|||
|
Tony Wilson wrote:
> I do have a question...Can PHP display error messages on the screen & also > log them? That was the main problem this time. I didn't know that PHP > logged its errors but now that I know this that is the first place I'll go > from now on. I am trying to teach myself PHP. You can define custom error handling functions that can do everything from echoing to logging to shouting "You Da Man!". Here's some leads on the subject: http://www.php.net/manual/en/ref.errorfunc.php http://www.zend.com/zend/spotlight/c...lery-wade9.php http://www.devshed.com/Server_Side/PHP/ErrorHandling Bunny -- /** * @author Jochen Buennagel <zang at buennagel dot com> * @see http://www.sourceforge.net/projects/zang */ |