Hi I am trying to turn on register_globals, but I am failing. someone trold me that I should change php.ini and I did it. ? - register_globals = Off - register_globals = On I made a php test page html/test.php <?php phpinfo(); ?> and checked it, but I can not make it. output_buffering no value no value output_handler no value no value post_max_size 8M 8M precision 14 14 register_argc_argv On On register_globals Off Off I am using CentOs 4.3 and installed php-4.3.9-3.12 php-mbstring-4.3.9-3.12 php-gd-4.3.9-3.12. Does anyone help me to trun on register_globals please? Thenks for your help. Cheers, Joe ___________________________________________________ Try the New Netscape Mail Today! Virtually Spam-Free | More Storage | Import Your Contact List http://mail.netscape.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, May 17, 2006 at 07:23:33PM -0400, kenkensmile at netscape.net wrote:> Hi > > I am trying to turn on register_globals, but I am failing. > someone trold me that I should change php.ini and I did it. > ? - register_globals = Off > - register_globals = On > > I made a php test page > html/test.phpYou DID restart apache before the test, right ? That is the only thing I can imagine. - -- Rodrigo Barbosa <rodrigob at suespammers.org> "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFEa7G3pdyWzQ5b5ckRArZ8AJ9hcGUmNm/Y1FEY20tefQP/0CRjVwCfWqw6 VbtJYLGTxp04TUfGLVm8UaI=kjFk -----END PGP SIGNATURE-----
kenkensmile at netscape.net spake the following on 5/17/2006 4:23 PM:> Hi > > I am trying to turn on register_globals, but I am failing. > someone trold me that I should change php.ini and I did it. > ? - register_globals = Off > - register_globals = On > > I made a php test page > html/test.php > > <?php > phpinfo(); > ?> > > and checked it, but I can not make it. > > output_buffering no value no value > output_handler no value no value > post_max_size 8M 8M > precision 14 14 > register_argc_argv On On > register_globals Off Off > > I am using CentOs 4.3 and installed php-4.3.9-3.12 > php-mbstring-4.3.9-3.12 php-gd-4.3.9-3.12. > Does anyone help me to trun on register_globals please? Thenks for your > help. > > Cheers, > > JoeDid you restart apache? -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
On 5/17/06, kenkensmile at netscape.net <kenkensmile at netscape.net> wrote:> Hi > > I am trying to turn on register_globals,My $.02. Why would you want to do that? PHP turned them off for a reason. register_globals puts your web pages at the mercy of any script kiddie who wants to invade your site. If you are coding this way, stop. If you have packages that rely on register_globals, get some better packages. -- Collins Richey If you fill your heart with regrets of yesterday and the worries of tomorrow, you have no today to be thankful for.