G
Guest
Guest
hello everybody,
got some pb with my php module:
<?phpinfo()?> works after installation,
but when using a post or a get method,
variables are empty !!
ex:
saise.html
------------------------
<html>
<head>
</head>
<body>
<form action = "resultat_form.php" method = "GET">
<p>nom <input type = "text" name = "nom">
<p>prenom <input type = "text" name = "prenom">
<p><input type = "submit" name = "soumettre"><input type = "reset" name = "effa\cer">
</form>
</body>
</html>
------------------------
resultat_form.php
-------------------------
<html>
<head>
</head>
<body>
result:<br>
<?PHP
print ("prenom: <b>$prenom</b><br>");
print ("nom: <b>$nom</b><br>");
?>
</body>
</html>
----------------------------
when writting write0 for name in the form fields of the html page,
i m getting that result:
----
result:
prenom:
nom:
----
can someone help me ?
got some pb with my php module:
<?phpinfo()?> works after installation,
but when using a post or a get method,
variables are empty !!
ex:
saise.html
------------------------
<html>
<head>
</head>
<body>
<form action = "resultat_form.php" method = "GET">
<p>nom <input type = "text" name = "nom">
<p>prenom <input type = "text" name = "prenom">
<p><input type = "submit" name = "soumettre"><input type = "reset" name = "effa\cer">
</form>
</body>
</html>
------------------------
resultat_form.php
-------------------------
<html>
<head>
</head>
<body>
result:<br>
<?PHP
print ("prenom: <b>$prenom</b><br>");
print ("nom: <b>$nom</b><br>");
?>
</body>
</html>
----------------------------
when writting write0 for name in the form fields of the html page,
i m getting that result:
----
result:
prenom:
nom:
----
can someone help me ?