Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/04/2013, 15:56
tggk
 
Fecha de Ingreso: abril-2013
Mensajes: 3
Antigüedad: 11 años
Puntos: 0
POST no funciona GET sí me funciona

Me estoy iniciando en php, estoy practicando el paso de informacion de
un formulario. Pero no consigo hacerlo a traves de POST, cuando cambio
la instruccion a GET ó REQUEST no tengo ningun problema.

Me podrian ayudar. Aqui les dejo mis scripts:
-------------------------------------------------------
<FORM ACTION="Programa002receptor.php" METHOD=_POST enctype="multipart/form-data">
<INPUT TYPE=TEXT NAME="alumno" VALUE="Escriba el nombre del alumno" SIZE="50" MAXLENGTH="55" />
<INPUT TYPE=TEXT NAME="edad" VALUE="edad" SIZE="5" MAXLENGTH="2" />
<br/><br/>
<INPUT TYPE=SUBMIT NAME="submit" VALUE=" Enviar datos "/>
--------------------------------------------------------
Y esta es mi recepción, el String llega vacio.

<?php

$alumno=$_POST['alumno'];
$edad=$_POST['edad'];
echo $alumno;
echo $edad;

?>
----------------------------------------------------------
Gracias por cualquier ayuda.