Passage Easyphp 1.5 à Easyphp 1.7

Defty -  
 stephane -
Regarder ce code simple !!!!!!!!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form action="" method="post" name="form1">
<table width="25%" border="0">
<tr>
<td width="18%"> </td>
<td width="27%"> </td>
<td width="55%"> </td>
</tr>
<tr>
<td>Date</td>
<td><input type="text" name="textfield"></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><input type="submit" name="Valider" value="Envoyer"></td>
</tr>
</table>
</form>
<?
echo "$Valider" ;
?>
</body>
</html>

Pb : Il ne reconnait la variable $Valider sur Easyphp 1.7 mais plutôt sur la version 1.5.
Comment faire ????????
Merci de repondre
A voir également:

1 réponse

stephane
 
il faut que tu modifier ton fichier php.ini dans apache, il faut que tu le configure pour qu'il les reconnaisse directement.
sinon utilise le tableau $HTTP_POST_VARS qui contient tte les varaiable poster
0