Re: error with variables after php 4.1.1 (but not priors)
| From: | Yang Li Ke | Date: | Tue, 27 Jan 2004 14:22:46 +0000 |
| Subject: | Re: error with variables after php 4.1.1 (but not priors) | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-22669@lists.php.net to get a copy of this message | ||
I have the same error on a PHP Version 4.3.4
Can anyone give a solution ?
--
"Josep" <tweek@canal21.com> wrote in message
news:20040127090654.83553.qmail@pb1.pair.com...
> Hi,
>
> I was using PHP 4.1.1 for windows without any problem. But I can't put a
> newer version into my server.
> In versions after PHP 4.1.1 if I pass a simple form value to a next php
> document, the value "loose" its value :-(.
> I haven't touch anything in php.ini file.
>
> Here the code example (that works successfully with version 4.1.1 and
prior)
> where I've omited irrelevant code:
>
> <form name="form1" method="post"
action="provaVariables2.php">
> <input name="valor" type="text" value="Hello">
> <input type="submit" name="Submit" value="Submit">
> </form>
>
>
> In provaVariables2.php:
> <body>
> <? echo "The value is: $valor"; ?>
> </body>
>
>
> The result is: "The value is: "
>
>
> Thank you.
> Josep.