Location: PHPKode > scripts > php-ftpmonitor > config.php
<?php
/* 
ftpmonitor configuration file
*/
$db_user = "dbuser";
$db_pass = "dbpass";
$db_server = "localhost";
$ftpmonitor_db = "ftpmonitor";
$ftpmonitor_tbl = "ftplist";

$hm_path = "layout_11.gif";
$ls_path = "layout_11_LS.gif";
$msl_path = "layout_11_MSL.gif";
$cp_path = "layout_11_CP.gif";
$s_path = "layout_11_SSL.gif";
$as_path = "layout_11_AS.gif";
$header_array= array('hm'=> $hm_path, 'ls'=> $ls_path, 'msl'=> $msl_path, 'cp'=> $cp_path, 's'=> $s_path, 'as'=> $as_path);

$default_section = 'hm';
$default_path = $hm_path;
$row_limit = 5;
$colors = array('lst','lsth');
$color_start =-1;
$action_array = array('list','edit','remove');
$ae_submit_array = array('Edit','Update');
$db_s_field = array('ftp_name','ftp_url','ftp_username','ftp_password','ftp_port','ftp_comment');

function display_message($message,$scale){
	$scale_array = array('lightgreen','yellow','pink');
	echo "<table width=471 cellspacing=0 style='border:solid gray 1px'>";
	echo "<tr><td bgcolor='$scale_array[$scale]'>$message</td></tr>";
	echo "</table><br>";	
	}
function put($db,$postback){
	$return_value = isset($db)? $db : $postback;
	echo $return_value;
	}
?>
Return current item: php-ftpmonitor