thanks but i am using as the following:
<html>
<head>
<title>img mysql save</title>
<meta http-equiv="Content-Type" content="text/htm; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"

;
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
</head>
<body bgcolor="#000000" text="#FFFFFF">
<form method="post" action="<?=$_SERVER['PHP_SELF']; ?>" >
<table width="45%" border="0" align="center">
<tr>
<td width="44%"><font color="#FFFFFF">Input Text: </font></td>
<td width="56%">
<input type="text" name="textfield" value="Class V1.0 Coder (jonybd)">
</td>
</tr>
<tr>
<td width="44%"><font color="#FFFFFF">Select Font Color: </font></td>
<td width="56%">
<select name="tcol">
<option value = "black">black</option>
<option value = "white">white</option>
<option value = "red">red</option>
<option value = "green">green</option>
<option value = "blue" selected>blue</option>
<option value = "yellow">yellow</option>
</select>
</td>
</tr>
<tr>
<td width="44%"><font color="#FFFFFF">Select Font: </font></td>
<td width="56%">
<select name="tfont">
<option value = "impact" selected>impact</option>
<option value = "roman">roman</option>
<option value = "script">script</option>
</select>
</td>
</tr>
<tr>
<td width="44%"><font color="#FFFFFF">Select BackGround Color: </font></td>
<td width="56%">
<select name="bgcol">
<option value = "black" selected>black</option>
<option value = "white">white</option>
<option value = "red">red</option>
<option value = "green">green</option>
<option value = "blue">blue</option>
<option value = "yellow">yellow</option>
</select>
</td>
</tr>
<tr>
<td width="44%"><font color="#FFFFFF"></font></td>
<td width="56%">
<input type="submit" name="submit" value="submitnow">
</td>
</tr>
</table>
</form>
<?php
/*
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
*/
if ($_REQUEST['submit'] == 'submitnow')
{
$txt = $_REQUEST['textfield'];
$tf = $_REQUEST['tfont'];
$tc = $_REQUEST['tcol'];
$bg = $_REQUEST['bgcol'];
include("func.php"

;
// function use
// inputtxt, Font , Color ,Size , BG , BG W , H , Tleft, ttop, angel
imgView($txt, $tf , $tc, 15 , $bg,200, 100, 5 , 150/2 , 0);
}
/*
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
*/
?>
<form name="form1" method="post" action="<?=$_SERVER['PHP_SELF']; ?>">
<table width="49%" border="0" align="center">
<tr>
<td width="44%">mySql Database Server</td>
<td width="56%">
<input type="text" name="srv" value="127.0.0.1">
</td>
</tr>
<tr>
<td width="44%">mySql Database Name</td>
<td width="56%">
<input type="text" name="db" value="atml">
</td>
</tr>
<tr>
<td width="44%">mySql Database Username</td>
<td width="56%">
<input type="text" name="u" value="root">
</td>
</tr>
<tr>
<td width="44%">mySql Database Field name</td>
<td width="56%">
<input type="text" name="fld" value="pic">
</td>
</tr>
<tr>
<td width="44%">mySql Picture Path for save</td>
<td width="56%">
<input type="text" name="p" value="pic.jpg">
</td>
</tr>
<tr>
<td width="44%"> </td>
<td width="56%">
<input type="submit" name="dbsave" value="save now">
</td>
</tr>
</table>
</form>
<?php
/*
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
*/
if ($_REQUEST['dbsave'] == 'save now')
{
$one = $_REQUEST['srv'];
$two = $_REQUEST['db'];
$three = $_REQUEST['u'];
$four = $_REQUEST['fld'];
$five = $_REQUEST['p'];
include("func.php"

;
// function use
// function imgSave($srv, $db , $u, $fld , $p)
imgSave($one, $two , $three,$four , $five);
}
/*
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
*/
?>
<p> </p>
</body>
</html>