Location: PHPKode > projects > Stelib > stelib-1.2.1/frmUpload.php
<?php
	/* frmUpload */
	include_once("config.php");

	if (!$upload_type) {	$upload_type="fs"; } // fs, ftp

echo "<FORM name=\"frmUploadAttachement\" action=\"".URL_STELIB_PUBLIC."/frm_upload_attachement.php\" method=\"POST\" target=\"fin_upload\">\n";
echo "	<INPUT type=\"hidden\" name=\"HOME\"						value='".$HOME."'>\n";
echo "	<INPUT type=\"hidden\" name=\"TRAF\"						value='".$TRAF."'>\n";
echo "	<INPUT type=\"hidden\" name=\"upload_readonly\"			value='".$upload_readonly."'>\n";
echo "	<INPUT type=\"hidden\" name=\"upload_type\"				value='".$upload_type."'>\n";
echo "	<INPUT type=\"hidden\" name=\"upload_path\"				value='".$upload_path."'>\n";
echo "	<INPUT type=\"hidden\" name=\"upload_url\"				value='".$upload_url."' >\n";
echo "	<INPUT type=\"hidden\" name=\"upload_prefix\"			value='".$upload_prefix."'	>\n";
echo "	<INPUT type=\"hidden\" name=\"upload_class\"				value='".$upload_class."'	>\n";
echo "	<INPUT type=\"submit\" name=\"button1\"					value=\"Attachement\" 	class=\"".$upload_class."\">\n";
echo "</FORM>";
?>
Return current item: Stelib