And by changing this:
PHP Code:
$path = $_SERVER['DOCUMENT_ROOT'] . '/dev/';
To this:
PHP Code:
if (!isset($_POST['path'])) {
$path = $_SERVER['DOCUMENT_ROOT'] . '/dev/';
} else {
$path = $_POST['path'];
}
echo '<form action="omgcountlines.php" method="post">'."\n";
echo '<input type="text" name="path" value="'.$path.'" size="50">'."\n";
echo '<input type="submit" name="submit" value="OMG COUNT LINES!">'."\n";
echo '</form>'."\n";
You get a nice little box for the path.
Oh, here's uCS in its current form.
uttstore
---- action.boldusername.php (Lines: 107)
---- action.forumaccess.php (Lines: 145)
---- action.admindonate.php (Lines: 103)
---- action.stickythread.php (Lines: 88)
---- action.colorusername.php (Lines: 206)
---- action.changeusername.php (Lines: 110)
---- action.secondaryusergroup.php (Lines: 139)
---- action.bank.php (Lines: 301)
---- action.denyforumaccess.php (Lines: 157)
---- action.glowusername.php (Lines: 207)
---- action.forumpassword.php (Lines: 127)
---- action.thief.php (Lines: 152)
---- action.giveforumaccess.php (Lines: 161)
---- action.italicusername.php (Lines: 100)
---- action.changetitle.php (Lines: 101)
---- action.changeothertitle.php (Lines: 130)
---- action.donate.php (Lines: 121)
includes
---- functions_uttstore.php (Lines: 511)
images
uttstore
admincp
---- uttstoreadmin.php (Lines: 519)
---- ushop_install.php (Lines: 1,184)
---- ushop.php (Lines: 531)
Total Lines = 5,200