PHP Classes
elePHPant
Icontem

debugTools: Display PHP execution information in a page

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-09-12 (8 years ago) RSS 2.0 feedStarStarStarStar 73%Total: 3,179 This week: 2All time: 1,087 This week: 591Up
Version License PHP version Categories
debugtools 1.0GNU General Publi...5HTML, PHP 5, Debug
Description Author

This class can be use to display PHP execution information in the current page.

It generates HTML and Javascript to display a draggable menu on the current page with options that can be used to inspect information about the PHP script that generated the page.

The menu can open and close areas with smooth animation to show details such as the current script SERVER, REQUEST, POST, GET, COOKIE, FILES and ENV variables, included files, defined constants. and the current script source code.

It also shows a tools menu to clear all the session, cookie and request variables.

Innovation Award
PHP Programming Innovation award nominee
September 2008
Number 3


Prize: One downloadable copy of Komodo Pro
Debug tools are very useful when you need to determine the cause of problems of implementation of a site.

This class provides a debug tool that presents many types of relevant information in the current Web page in an easy and smooth way to navigate.

Manuel Lemos
Picture of Andreas Christodoulou
Name: Andreas Christodoulou <contact>
Classes: 2 packages by
Country: Cyprus Cyprus
Innovation award
Innovation award
Nominee: 1x

Details
DIRECTORY STRUCTURE
......................................................................................................

/js/
	scriptaculous/
	ws_tooltip.js

/images/
		hide.png
		move_arrow.png
		show.png

root
	class_debug.php
	README
	index.php
	view_sourcecode.php
	include_me.php


......................................................................................................
NOTICE :: YOU NEED TO DOWNLOAD THE LATEST VERSION OF SCRIPTACULOUS FROM :: http://script.aculo.us/ AND
		COPY THE WHOLE FOLDER INTO THE JS/ DIRECTORY.

1.add these line to top of the page (ABOVE <!DOCTYPE html.... )
<? include("debugTool/include_me.php"); ?>

2.WARNING :: If you have already include the following lines into your head section please comment those line. If not you will not be able to use 
the drag and drop option to drag the toolbar wherever you want.
<script language="javascript" type="text/javascript" src="js/prototype.js" ></script>
<script src="js/scriptaculous.js?load=effects" type="text/javascript"></script>

3.GO TO YOUR SITE AND START WORKING

4.NOTICE :: BEFORE YOUR SITE GOES LIVE REMOVE FOLDER DEBUGTOOL FROM YOUR SERVER OR ELSE YOUR SITE WILL BE IN DANGER
Screenshots  
  • screenshots/image2.png
  • screenshots/image1.jpg
  Files folder image Files  
File Role Description
Files folder imageimages (2 files)
Files folder imagejs (1 file)
Plain text file class_debug.php Class Main Class File
Plain text file include_me.php Example Include File
Plain text file index.php Example Index
Plain text file README Doc. DEBUGTOOL readme file
Plain text file view_sourcecode.php Aux. View File Source Code

  Files folder image Files  /  images  
File Role Description
  Image file move_arrow.png Icon image button
  Image file show.png Icon image button

  Files folder image Files  /  js  
File Role Description
  Plain text file wz_tooltip.js Data js script

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,179
This week:2
All time:1,087
This week:591Up
User Ratings User Comments (2)
 All time
Utility:94%StarStarStarStarStar
Consistency:92%StarStarStarStarStar
Documentation:84%StarStarStarStarStar
Examples:84%StarStarStarStarStar
Tests:-
Videos:-
Overall:73%StarStarStarStar
Rank:176
 
Real good stuff! Thanks!
8 years ago (Uwe Kleßen)
77%StarStarStarStar
Congratulations !! looool Thats a very good and useful class ...
8 years ago (José Filipe Lopes Santos)
77%StarStarStarStar