interpreting error messages from include files...
r6uji7_at_gmail.com
Date: 12/30/04
- Next message: Matthias Esken: "Re: PHP clients: what web-service is best? (SOAP etc)"
- Previous message: Daniel Tryba: "Re: Using PHP to send IM or SMS Text"
- Next in thread: DH: "Re: interpreting error messages from include files..."
- Reply: DH: "Re: interpreting error messages from include files..."
- Reply: Pedro Graca: "Re: interpreting error messages from include files..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Dec 2004 09:52:43 -0800
hello,
i am new to PHP programming and wondered if u could help.
lets say i have the following files:
1. error.php: that is routed to for all errors. this page should
display proper and explanatory error messages to the user based on the
parameter provided.
2. errordef.php: has all the error codes and their explanations
"defined" as constants.
now, say if i have 3 different files viz. a.php, b.php and c.php, and
when any error occuring in either these files, i want to route to
error.php for detailed explanation. each a.php, b.php and c.php passes
error code to error.php, but error.php should interpret the code from
the definition file errordef.php!
how can i implement this? any quick help will be appreciated.
- Next message: Matthias Esken: "Re: PHP clients: what web-service is best? (SOAP etc)"
- Previous message: Daniel Tryba: "Re: Using PHP to send IM or SMS Text"
- Next in thread: DH: "Re: interpreting error messages from include files..."
- Reply: DH: "Re: interpreting error messages from include files..."
- Reply: Pedro Graca: "Re: interpreting error messages from include files..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]