Tema: php_self
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/05/2005, 12:58
Avatar de tabano
tabano
 
Fecha de Ingreso: mayo-2005
Ubicación: Chile (Viña del mar)
Mensajes: 6
Antigüedad: 19 años
Puntos: 0
php_self

Hola a todos, me sucede lo siguiente:
cuando ejecuto este codigo...

<?
if(isset($submit))
{
//do some form processing here
echo “thanks for the submission ”;
}else {
?>
<form name=myform method=post action=<?=$PHP_SELF?>>
<input type=text name=first_name>first name<br>
<input type=text name=last_name>last name<br>
<input type=submit name=submit value=submit>
</form>
<?
}
?>

me aparece el siguiente mensaje:
Notice: Undefined variable: PHP_SELF

que puedo hacer para mejorarlo Muchas gracias de ante mano..