I due file sotto elencati dovrebbero interagire tra di loro ma nella mia locale non lo fanno, sul mio hosting funzionano perfettamente:
File .html:
<html>
<head>
<title>Listing 9.2 A simple HTML form</title>
</head>
<body>
<form action="0903.php" method="GET">
<input type="text" name="user">
<textarea name="address" rows="5" cols="40">
</textarea>
<input type="submit" value="hit it!">
</form>
</body>
</html>
file .php:
<html>
<head>
<title>Listing 9.3 Reading input from the form in Listing 9.2</title>
</head>
<body>
<?php
print "Welcome $user
\n\n";
print "Your address is:
\n\n$address";
?>
</body>
</html>
Chi sa darmi una mano?
![]()
GRAZIE!!!