Ver Mensaje Individual
  #5 (permalink)  
Antiguo 23/01/2010, 17:22
Yurisimo
 
Fecha de Ingreso: julio-2009
Mensajes: 111
Antigüedad: 14 años, 9 meses
Puntos: 0
Respuesta: La funcion getimagesize no reconoce la imagen

Código HTML:
Ver original
  1. <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" name="form1" id="form1">
  2. <tr>
  3.     <td ><?php echo $msg; echo $msgImagen; ?></td>
  4.     <td></td>
  5.   </tr>
  6. <tr>
  7.     <th><label for="titulos">Titulo</label></th>
  8.     <td>
  9.       <input name="titulos" type="text" id="titulos" value="<?php echo $_POST['titulos']; ?>" /></td>
  10.   </tr>
  11.   <tr>
  12.     <th><label for="resumen">Resumen</label></th>
  13.     <td>
  14.       <textarea name="resumen" id="resumen" cols="45" rows="3"><?php echo $_POST['resumen']; ?></textarea></td>
  15.   </tr>
  16.   <tr>
  17.     <th> <label for="noticia">Su noticia</label></th>
  18.     <td>
  19. <textarea name="noticia" id="noticia" cols="60" rows="20"><?php echo $_POST['noticia']; ?></textarea>
  20.   </td>
  21.   </tr>
  22.   <tr>
  23.     <th><label for="autor">Autor</label></th>
  24.     <td>
  25.       <input name="autor" type="text" id="autor" value="<?php echo $_POST['autor']; ?>" /></td>
  26.   </tr>
  27.     <th><label for="seccion">Seccion :</label></th>
  28.     <td>
  29.       <select name="seccion" id="seccion">
  30.       <option value="nada"> Seleccione...</option>
  31.        <?php
  32.      while($filas=mysql_fetch_assoc($resultNoticias)) {
  33.      echo '<option value="'.$filas['id_seccion'].'">'.$filas['seccion'].'</option>';
  34.       }
  35.       ?>
  36.       </select></td>
  37.   </tr>
  38.   <tr>
  39.     <th><label for="imagen">Imagen :</label></th>
  40.     <td>
  41.      
  42.       <input type="hidden" name="max_file_size" id="2000000" /><input type="file" name="caratula" id="caratula" /></td>
  43.   </tr>
  44.  
  45.   <tr>
  46.     <td align="center" bgcolor="#CC3333" colspan="2"><input name="borrar" id="borrar" type="reset" value="Borrar"/>
  47.       <input name="enviar" id="enviar" type="submit" value="Enviar" /></td>
  48.    
  49.     </tr>
  50. </form>

Bueno el formulario es este... he puesto lo otro para q se viera los campos q recojo..