Re: Passing variables via Form
| From: | Chris Hewitt | Date: | Tue, 09 Jul 2002 14:02:01 +0000 |
| Subject: | Re: Passing variables via Form | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7677@lists.php.net to get a copy of this message | ||
Dennis,
Its probably that you are used to register_globals being on in php.ini. In recent versions it is off by default. Either change the setting or use $_GET["varname"] or $_POST["varname"] depending on whether the data is GET or POST data.
HTH
Chris
Hoofe, Dennis wrote:
Hi, I have the following problem: First file: test.php Second: test2.php Via form I pass a variable from File 1 to File 2. Echoing the variable (echo $variableIset;) does not work, although the variable seems to be properly passed in the URL. Has this something to do with track_vars or something like that? Everything else works. I have the most lately stable apache release and php release. Thx a lot Dennis