[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] PHP - register globals wierdness.
- Subject: Re: [cobalt-users] PHP - register globals wierdness.
- From: Ryan Verner <xfesty@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun Oct 13 08:11:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, 13 Oct 2002 15:27:26 +0100 "Steve Bassi" <steve@xxxxxxxxx> wrote:
| Dunno if this helps ..
| was a recent post on another list.
| if Register_globals i on, you need to access them via the $HTTP server
| variables:
|
| <?php
| echo $HTTP_POST_VARS['myName'];
| or
| echo $_POST['myName'];
| ?>
$_REQUEST is basically like both of these.
|
| You can change this in the php.ini file.
Exactly, thats the idea. Even though I changed this in the php.ini file - I still cant use $_REQUEST, $HTTP_POST_VARS, $_POST - they always show up as being empty. Even with globals on or off, they should have values where appropriate.
Cobalt wierdness... not doing what its supposed to be doing :-)
R
| _____________________________________
| cobalt-users mailing list
| cobalt-users@xxxxxxxxxxxxxxx
| To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
| http://list.cobalt.com/mailman/listinfo/cobalt-users
|
- --
Ryan Verner <xfesty@xxxxxxxxxxxxxxxxxxxxxxxxx>
ICQ: 76626240
PH: +61 415 297 303
IRC: xfesty / irc.oublinet.net
EQ: Mummer (Bard), Tholuxe Paells
propaganda as education, no rising above your station.
a totalitarian state, all the victims that can hardly wait.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9qYz/Rcxk39PM6wcRAoB5AJ0boIxsBUi+v9THrORF1ErGocZ3sQCfZbJD
TjJ9pkYm4qpRlTdFALG+068=
=HwgX
-----END PGP SIGNATURE-----