FirePHP
Posted: Mon May 21, 2012 9:01 pm
OK - I've just now found out about Firebug console. What a fantastic tool. I've been using it with my javascript and now want to use it with my php. So... I've figured out that I have to use FirePHP. I've downloaded the libraries and included the necessary files in my php files, but am not getting anything to show up in my console. Following is where I'm at right now:
File inclusion lines and a line to define $firephp - all as instructed:
Test effort to pass information to the console:
These lines do NOT return anything to the console.
Does anyone here have any idea what I'm doing wrong?
Thanks Much:
Pavilion
File inclusion lines and a line to define $firephp - all as instructed:
Code: Select all
// include FirePHP files for debugging to the console.
require_once('../FirebugPHP/packages/core/lib/FirePHPCore/FirePHP.class.php');
require_once('../FirebugPHP/packages/core/lib/FirePHPCore/fb.php');
$firephp = FirePHP::getInstance(true);Code: Select all
$firephp->log('Plain Message');
$firephp->log('Hello World');Does anyone here have any idea what I'm doing wrong?
Thanks Much:
Pavilion