Re: HTML module problem under Linux/APache2.0

From: Date: Mon, 30 Dec 2002 09:15:08 +0000
Subject: Re: HTML module problem under Linux/APache2.0
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-129633@lists.php.net to get a copy of this message
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" <eurleif@buyer-brokerage.com> wrote in message news:3E100B90.1070807@buyer-brokerage.com... > 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. > > >

« previous php.general (#129633) next »