How to Install:
  1. Upload the "public_html/kb" directory to the location of your choice (usually the site root)
  2. Generate an API key by pointing your browser to http://yoursite.com/kb/?cmd=gak
  3. Copy the bold face API key from that page.
  4. Install and run the KillBugs desktop AIR application.
  5. In the options panel, enter the URL: http://yoursite.com/kb/
  6. Then enter the API key you copied from the API generation page.
  7. If you want anyone else to connect to your KillBugs server, just send them the URL and API key for the server.
Connecting to the KB Class:
  1. Just put the following line of code in your PHP script:

    include "kb/kb.php";
      
  2. Once that is done your PHP scripts will make use of the custom KB error handling automatically.
  3. It also means you can use the following KB methods to log custom messages or dump arrays and objects as needed:
    - KB::error()
    - KB::warn()
    - KB::alert()
    - KB::debug()
    - KB::info()
    - KB::log()
    - KB::trace() 
  4. All of the above methods are essentially identical except for the "type" that is displayed for each log item.
  5. We also thought that you may find it nice to call a function that has a familiar feel to it rather than having to change your workflow.

 

 

This website runs on our own content management system!

Sprink uses its own content management system