I mean that if you use the following code into welcome.php file:

<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>
You can pass directly this line: http://domain/welcome.php?user=nameofuser
into the address bar and the nameofuser specified as variable User, must be
visible in the following example:

"Welcome UserName"

bye
Tiziano Crimella



"Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> No idea what you mean html module, but it looks like a register_globals
> problem.
>
> Tiziano Crimella wrote:
>
> >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
> >
> >
> >
> >
> >
> >
> >
>
> --
> The above message is encrypted with double rot13 encoding.  Any
unauthorized attempt to decrypt it will be prosecuted to the full extent of
the law.
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to