HTML module problem under Linux/APache2.0
| From: | Tiziano Crimella | Date: | Mon, 30 Dec 2002 08:44:55 +0000 |
| Subject: | HTML module problem under Linux/APache2.0 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-129631@lists.php.net to get a copy of this message | ||
Im' sorry but I discovered a problem when I try to send an HTML module to a
PHP file. Watch the example below:
module.html:
----------------------------------------------------------------------------
----
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Module</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form action="welcome.php" method="GET">
<input type="text" name="user">
<br>
<input type="submit" value="premi qui">
</form>
</body>
</html>
welcome.php:
----------------------------------------------------------------------------
----
<html>
<head>
<title>Welcome</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
Print "Welcome <b>$user</b>";
?>
</body>
</html>
Under Microsoft XP's IIS with Php4 modules installled ther isn't any problem
but under Linux with Apache 2.0 and Php 4 modules installed, doesn't appear
nothing.
TO NOTE: Php's modules under this last system (linux/Apache2.0) run
correctly and other scripts have been execute correctly.
Thank you for any help
Tiziano Crimella - Switzerland