Bluehost.com Web Hosting $6.95

To Justin & all who helped

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 ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-19-2003
Tony Wilson
 
Posts: n/a
Default To Justin & all who helped

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
Reply With Quote
  #2 (permalink)  
Old 08-20-2003
Jochen Buennagel
 
Posts: n/a
Default Re: To Justin & all who helped

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
*/

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:19 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0