RE: [PHP] Determining where a function is called from..

2003-08-15 Thread Wouter van Vliet
think I'll have to live with that :( Thanks you all ! Wouter Ps. invoking phpinfo() on a production website? I don't think so ;P -Oorspronkelijk bericht- Van: Jaap van Ganswijk [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 15 augustus 2003 16:51 Aan: [EMAIL PROTECTED] Onderwerp:

RE: [PHP] Determining where a function is called from..

2003-08-15 Thread Wouter van Vliet
too bad my vim syntax file doesn't yet recognize it.. Wouter -Oorspronkelijk bericht- Van: Jaap van Ganswijk [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 15 augustus 2003 16:51 Aan: [EMAIL PROTECTED] Onderwerp: RE: [PHP] Determining where a function is called from.. At 2003-08

RE: [PHP] Determining where a function is called from..

2003-08-15 Thread Jaap van Ganswijk
At 2003-08-15 16:35 +0200, Wouter van Vliet wrote: >I noticed the __LINE__ and __FUNCTION__ magic constants too, but they don't >really contain the values I was looking for, as they have the current >function and line in it. But what I want my Logging class (I have one too >:D) to display is what I

Re: [PHP] Determining where a function is called from..

2003-08-15 Thread Marek Kilimajer
s to my logging module is something like "You have an error in your sql syntax at line 1, called from index.php on line 20". The first part being just the mysql error, after the comma from where the errorfull query was called .. Thanks once more, Wouter Ps. or am I really wanting too mu

RE: [PHP] Determining where a function is called from..

2003-08-15 Thread Wouter van Vliet
r Ps. or am I really wanting too much now? -Oorspronkelijk bericht- Van: David Otton [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 15 augustus 2003 16:13 Aan: Wouter van Vliet Onderwerp: Re: [PHP] Determining where a function is called from.. On Fri, 15 Aug 2003 16:02:24 +0200, you wrote:

[PHP] Determining where a function is called from..

2003-08-15 Thread Wouter van Vliet
Howdy Fellas, I've got this problem .. not really a problem but still some thing to my disliking. For a project I wrote some database handling class, no big deal. When a function from this module is called with a query containing an error, or some other error occurs inside this class it reports to