Send info through POST
Posted: Mon Nov 20, 2006 2:58 pm
hi, how can i send info like this .
I want to pass info from a form that has only one item (file) , for examlpe, when i tried i want to pass all the info (c:\program files\info.rar) but it only pass info.rar
and this is the one that recives it.
I want to pass info from a form that has only one item (file) , for examlpe, when i tried i want to pass all the info (c:\program files\info.rar) but it only pass info.rar
Code: Select all
<form action="top.php" method="post">
<input type="file" name="fila" />
<br />
<input type="submit" name="Submit" value="Submit" />
<br />
</label>
<label></label>
</form>Code: Select all
<form method="post" name="add" action="http://www.fastshare.org/upload.php" enctype="multipart/form-data" onSubmit="FormularbuttonVeraendern(this.SendenButton);">
<input type="hidden" name="MAX_FILE_SIZE" value="">
<table border=0 align=center>
<tr>
<td align=center></td>
</tr>
<tr>
<td align=center><label>
<input name="textfield" type="text" value="<?php echo $_POST['fila'] ?>">
</label></td></tr>
<tr>
<td align=center><input name="SendenButton" type="submit" value="Upload" accesskey="s"></td>
<span id="warning"></span> </tr>
</table>
</form>