Reingold–Tilford tree
A dendrogram is a node-link diagram that places leaf nodes of the tree at the same depth. In this example, the classes (leaf nodes) are aligned on the right edge, with the packages (internal nodes) to the left. Data shows the Flare class hierarchy, courtesy Jeff Heer.
Compare to this radial layout.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
error_reporting(E_ALL); | |
ini_set('display_errors','On'); | |
if (isset($_POST['dbhost'])) { | |
preg_match( '/^((?!-)[a-z0-9-]{1,63}(?<!-)(\.){0,1})+([a-z]{0,9})(?<!\.)((;port=){1}[0-9]{2,6}){0,1}$/i', $_POST['dbhost'], $matches); | |
echo "<pre>".print_r($matches, true)."</pre>"; | |
die(); | |
$DB_HOST = $_POST['dbhost']; | |
$DB_DATABASE = $_POST['dbname']; | |
$DB_USERNAME = $_POST['dbuser']; |
NewerOlder