RE: [PHP] Problems with post data
| From: | John W. Holmes | Date: | Mon, 31 Mar 2003 03:11:28 +0000 |
| Subject: | RE: [PHP] Problems with post data | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141667@lists.php.net to get a copy of this message | ||
> Does this bug also applies to passing variables in an URL.
>
> I'v noticed that when the directive register_globals is set to off as
it
> is
> recommended in the php.ini file no variables are passed on to other
pages.
> Switching it to on would be the simplest solution, but scripts like
> phpMyAdmin do not seem to have these problems.
The variables are passed, you just have to reference them as
$_GET['variable'] or $_POST['variable'], which is also mentioned many
times in the manual.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/