MySQL/PHP Data Dictionary Script

June 5, 2010
Last Update: February 4, 2012

Download Script Here (20kb)


This free script is designed to help database administrators, system administrators, and web developers generate data dictionaries, and determine a leaner database hierarchy.

The current version, 3.0, adds several enhancements, please see the (changelog).

Several shortcomings have been corrected in this version, including security, aesthetics, and functionality.

Because it interfaces directly with MySQL, you can allow users to use this script and it will respect the permissions from the DBMS.

Like any software that interacts with your back end, you should make sure the software is secure and operate it only over SSL. You should only allow it to be used by trusted users and inside of a secured directory.

Logging into MySQL


Login Screen for MySQL PHP Data Dictionary Script

Selecting a Database


Database selection screen for MySQL PHP Data Dictionary Script

Selecting a Table


Table selection screen for MySQL PHP Data Dictionary Script

Viewing the Dictionary


Data Dictionary screen shot for MySQL and PHP Script

Changelog


v3.0 - Major Revision, Bug Fixes and Code Updates February 4, 2012 v2.1 - Minor Bug Fix February 19, 2011 v2.0 - Major Revision February 19, 2011 v1.0 - Initial Release June 5, 2010


Download Script Here (20kb)
Name:

Posted: Thursday, April 28, 2011 at 7:46:57 PM
By:
?php
Includes the required files and checks if the seession is active. If not, redirected to the login page.
includeonce 'connect.php'
include 'config.php'
sessionstart()

if (isset($SESSION'player'))

$player$SESSION'player'

else

echo "Not Logged in brbr A href'login.php'Logina"
exit

?

html
head
link relstylesheet href"style.css"
title?php echo $sitename ?title
head

body
div class"header"
centerimg src"imageslogo.jpg" center
div
div class"sidebar"
?php
include 'sidebar.php'
?
div
div class"content"

?php
$editid $GET'ID'
$staff$POST'staff'
$password$POST'password'
$pass2$POST'pass2'
$staffstriptags($staff)
$email$POST'email'
$emailstriptags($email)
if ($staff "")

echo "You didn't enter a username.br"
echo " A href'editstaff.php?ID$editid'Go backa"
exit

if ($email "")

echo "You didn't enter a email address!br"
echo " A href'editstaff.php?ID$editid'Go backa"
exit

if ($password $pass2)

if ($password "")

$query "SELECT * from staff where id '$editid'"
$result mysqlquery($query) or die("Could not query staff table")
$result2 mysqlfetcharray($result)

$password $result2'password'

else

$passwordmd5($password)

$SQL "UPDATE staff SET name'$staff', email'$email', password'$password' WHERE id'$editid'"
mysqlquery($SQL) or die("Could not update name ". mysqlerror())
echo "Editing user $editid success."


else

echo "Password verfication failed."

?





div
head
html