Ver Mensaje Individual
  #4 (permalink)  
Antiguo 12/02/2007, 20:24
Fridureiks
 
Fecha de Ingreso: julio-2005
Ubicación: Buenos Aires, Argentina
Mensajes: 1.304
Antigüedad: 18 años, 9 meses
Puntos: 6
Re: IE y boton type=image

IE y FF toman de maneras distintas el input image, mejor dicho, envian variables distintas. Prueba este codigo en IE y en FF y comprobaras la diferencia:

Código PHP:
<html>
<head></head>
<body>
  <form name="form1" action="boton.php" method="post">
    <input type="image" name="prueba" value="enviar" src="boton.png">
  </form>
<?php
echo "<pre>";
print_r($_POST);
echo 
"</pre>";
if (
$_POST[prueba] == enviar){
echo
"sirve este pedazo de boton en IE?";
}
?>
</body>
</html>
Con ie veras que llegan unas variables del tipo prueba_x, prueba_y
__________________
Federico.

Mi página: www.jourmoly.com.ar