Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/04/2003, 16:22
rashid
 
Fecha de Ingreso: enero-2002
Ubicación: Perez Zeledon Costa Rica
Mensajes: 1.009
Antigüedad: 22 años, 3 meses
Puntos: 11
Por ke pasa esto?

tengo una redireccion a una formula, en la redireccion es pasado asi:
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%'>&nbsp;&nbsp;</td>
    <td colspan=2>&nbsp;</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>"

Pero cada vez que abro la formula veo que el campo cid se llena con su valor, e instantanteamente queda vacio.

Eso por ke?



graicas