Ver Mensaje Individual
  #5 (permalink)  
Antiguo 12/11/2015, 03:26
riccardo_moon
 
Fecha de Ingreso: julio-2012
Mensajes: 10
Antigüedad: 11 años, 9 meses
Puntos: 0
Respuesta: Problemas Notice: Undefined variable: PHP_SELF in y mas....

He cambiado esto:

echo '<FORM name="form1" id="form1" METHOD="POST" ACTION="'.$PHP_SELF.'"<br>';

a esto:

echo '<FORM name="form1" id="form1" METHOD="POST" ACTION="'$_SERVER['PHP_SELF']'"<br>';

y me da el siguiente error:

Parse error: syntax error, unexpected '$_SERVER' (T_VARIABLE), expecting ',' or ';' in /var/www/rrhh/GestorContenidos/GestorContactos.php on line 157