upload-Free.php?m=c&y=9
la formula recoge eso mediante get y lo mete a sus campos asi:
Código PHP:
echo "<form name='Attachments' method='POST' action='/php/upload.php' enctype='multipart/form-data' onSubmit='return checkform(this);'>";
echo "<tr>
<td nowrap width='1%'> </td>
<td colspan=2> </td>
</tr>
<table width='33%' border='0'>
<tr>
<td><div align='center'>";
echo"<p>Here you will be able to <B>Upload</B> your logo or your main picture.<br> This will appear on the right top</p>";
echo "</div></td>
</tr>
<tr>
<td><table width='33%' border='0'>
<tr>
<td width='7%'><div align='center'><b>Image: </b></div></td>
<td width='93%'><div align='center'><b>
<input type=file name=source_file size=20>
</b></div></td>
</tr>
<tr>
<td width='7%'><div align='center'></div></td>
<td width='93%'><div align='center'><b>
<input type='text' name='cid' value='$y'>
<input type='text' name='w' value=".stripslashes($w).">
<input type='text' name='m' value='$m'>
</b></div></td>
</tr>
<tr>
<td width='7%'><div align='center'><b></b></div></td>
<td width='93%'><div align='center'>
Please be patient, you are uploading images which can take a little time<br>
depending on your connection. Our system will change the name, and add it to the database, along with the information.
</div></td>
</tr>
<tr>
<td width='7%'><div align='center'><b></b></div></td>
<td width='93%'><div align='center'><b>
<input type=hidden name=box value=''>
<input type='hidden' name='path' value=''>
<input type='hidden' name='username' value=''>
</div></td>
<td><div align='center'>
<input type=image src=http://www.dominicalbeach.com/images/btnsetc/SendBtn1.gif name=btnSubmit value=Submit size=20 style='border: 0px solid #0000FF'>
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td><div align='center'></div></td>
</tr>
</table>
</form>";
Eso por ke?


graicas