Re: [SMARTY] Problem with variables
| From: | Robert Cummings | Date: | Thu, 14 Aug 2003 14:34:10 +0000 |
| Subject: | Re: [SMARTY] Problem with variables | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10074@lists.php.net to get a copy of this message | ||
Google for "php register globals".
Cheers,
Rob.
On Thu, 2003-08-14 at 10:07, Tomek wrote:
> After instaling php on the Apache, I have tried it with this simple page
> containing only one form:
> html page
> <html>
>
> <head>
>
> <title>test</title>
>
> </head>
>
>
>
> <body>
>
> <form action="post1.phtml" method="post">
>
> Name: <input type="text" name="Username"><br>
>
> Password: <input type="password"
> name="Password"><br>
>
> <input type="submit" name="Submit"
> value="Wy¶lij">
>
> </form>
>
> </body>
>
> </html>
>
>
>
>
>
> post1 php page
>
>
>
> <html>
>
> <head>
>
> <title>Wydruk 3.1: post1.phtml</title>
>
> </head>
>
>
>
> <body>
>
> <?php
>
> print( "Nazwa u¿ytkownika: $Username<br>" );
>
> print( "Has³o: $Password<br>" );
>
> ?>
>
> </body>
>
> </html>
>
>
>
> unfortunately variables Username and Password are not visible in php file.. I
> have no idea why.
>
> Please help me if you can
>
> Regards
>
> Tom
>
>
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
.---------------------------------------------.
| Worlds of Carnage - http://www.wocmud.org |
:---------------------------------------------:
| Come visit a world of myth and legend where |
| fantastical creatures come to life and the |
| stuff of nightmares grasp for your soul. |
`---------------------------------------------'