Antwort: [PHP-INST] Help! No POST/GET variables!
| From: | thomas dot sinka at it-choice dot de | Date: | Wed, 14 May 2003 14:10:18 +0000 |
| Subject: | Antwort: [PHP-INST] Help! No POST/GET variables! | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10886@lists.php.net to get a copy of this message | ||
> Hello. I am experimenting with PHP/Apache on a Win98 platform. Things
have
> always worked for me on Linux, so I thought I'd take some punishment :)
>
> I have apache-1.3.27 and php-4.3.1 installed and PHP seems to work fine
except
> no variables from POST or GET actions get populated in scripts.
>
> Any ideas what could disable such a fundamental part of PHP?
>
> -- j
>
Hi,
in recent php versions register_globals is set to off by default for
security reasons.
Try to get those variables with
$_GET['name'] or $_POST['name']
Thomas
===============================================
Thomas Sinka
mobil: +49 163 3 23 12 72
mailto: thomas.sinka@it-choice.de
IT-Choice Software AG
Kaiserstraße 160-162, 76133 Karlsruhe, Germany
Tel.: +49(0)721-85 006-0, Fax: +49(0)721-85 006-77
www.it-choice.de, info@it-choice.de
Amtsgericht Karlsruhe, HRB 9060
USt-Id Nr.: DE 812 950 635
Vorstand: Mirko Ketterer (Vorsitzender),
Stephanie Lehmann, Dirk Ludwig
Aufsichtsratsvorsitzender: Horst Gann