Hey Nitsan & all,
I haven't been through it all, I just installed the plug in and download
the file to include and started using it.
I would imagine you have to use their log function to get any output,
but it seems like the kind of thing that could be left in the code
without any ill-affect.
I wrote a wrapper in my global functions file, and I suppose if I wanted
to turn it off I'd just have that function return at the top.
So far I'm finding it useful and easy enough to use.
If you don't want to change your code I would imagine something like
xdebug would be the next step.
Skip
Nitsan Bin-Nun wrote:
I'm using FireBug 24/7/365 and I also knew FirePHP before but I never
tried it or had any experience with it that I can share.
There are any other options and functions that FirePHP gives which not
require you to involve changing your code?
Nitsan
On Sun, Jan 11, 2009 at 6:46 PM, Skip Evans <skip@xxxxxxxxxxxxxxxxx
<mailto:skip@xxxxxxxxxxxxxxxxx>> wrote:
Hey all,
I'm sure many of you use Firebug in Firefox for help debugging, and
some of you also no doubt know about FirePHP, the PHP class that
let's you write logs to the Firebug console.
In case you don't know about it, Joe Bob Briggs says, "Check it out."
I just installed and it's pretty cool.
http://www.firephp.org/
Very easy install and set up: you basically include on PHP file and
you're off to the races. I wrote a quick wrapper function that takes
a string and outputs it to the Firebug console and am finding it
pretty helpful.
I think it's especially useful if you write a lot of AJAX calls that
don't allow easy output of debug statements.
Would like to hear other opinions of this little tool.
--
Skip Evans
Big Sky Penguin, LLC
503 S Baldwin St, #1
Madison, Wisconsin 53703
608-250-2720
http://bigskypenguin.com
"Those of you who believe in telekinetics, raise my hand."
-- Kurt Vonnegut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
==========================================================
Skip Evans
Big Sky Penguin, LLC
503 S Baldwin St, #1
Madison, Wisconsin 53703
608-250-2720
http://bigskypenguin.com
"Those of you who believe in telekinetics, raise my hand."
-- Kurt Vonnegut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php