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@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.php
You DID restart apache before the test, right ? That is the only thing I can imagine.
- -- Rodrigo Barbosa rodrigob@suespammers.org "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
kenkensmile@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,
Joe
Did you restart apache?
Did you restart apache?
Yes i did, but i can not chenge register_globals on... Is there anything wrong with php.ini? or httpd.conf?
Thanks.
Cheers,
-----Original Message----- From: Scott Silva ssilva@sgvwater.com To: centos@centos.org Sent: Wed, 17 May 2006 16:29:40 -0700 Subject: [CentOS] Re: PHP register_globals
kenkensmile@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,
Joe
Did you restart apache?
--
MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
___________________________________________________ Try the New Netscape Mail Today! Virtually Spam-Free | More Storage | Import Your Contact List http://mail.netscape.com
Yes i did, but i can not chenge register_globals on... Is there anything wrong with php.ini? or httpd.conf?
Not to be rude here but how would we know? We won't have access to these files until you successfully enable php_globals...
Seriously though, we don't know if you have problems with these files because we don't have the contents. Search through the php.ini to ensure you haven't declared it more than once. Keep in mind, it's talked about and commented out in php.ini long before it's actually declared off.
Once you change it, make sure you restart apache, make sure you're error checking php input, and make sure you use something like mod_security. Others are right, they're off for a reason. Please see http://us3.php.net/register_globals for details.
I just made it!! I made .htaccess file
php_flag output_buffering Off php_flag register_globals On php_value default_charset EUC-JP php_value mbstring.language Japanese php_flag encoding_translation On php_value mbstring.http_input auto php_value mbstring.http_output EUC-JP php_value mbstring.internal_encoding EUC-JP php_value mbstring.substitute_character none
and I did restart apache. Now I can install osCommerce. Of cource, I will delete .htaccess file after installing osCommerce. Thanks guys!!
Cheers,
Joe
-----Original Message----- From: Jim Perrin jperrin@gmail.com To: CentOS mailing list centos@centos.org Sent: Wed, 17 May 2006 20:22:29 -0400 Subject: Re: [CentOS] Re: PHP register_globals
Yes i did, but i can not chenge register_globals on... Is there anything wrong with php.ini? or httpd.conf?
Not to be rude here but how would we know? We won't have access to these files until you successfully enable php_globals...
Seriously though, we don't know if you have problems with these files because we don't have the contents. Search through the php.ini to ensure you haven't declared it more than once. Keep in mind, it's talked about and commented out in php.ini long before it's actually declared off.
Once you change it, make sure you restart apache, make sure you're error checking php input, and make sure you use something like mod_security. Others are right, they're off for a reason. Please see http://us3.php.net/register_globals for details.
-- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
___________________________________________________ Try the New Netscape Mail Today! Virtually Spam-Free | More Storage | Import Your Contact List http://mail.netscape.com
I just made it!! I made .htaccess file
You made something alright. Just be aware that .htaccess files have performance implications and overhead on apache. Much better to do this sort of thing in the config file (php.ini) or directory statement in httpd.conf or included files.
wrote on Wed, 17 May 2006 20:34:16 -0400:
Now I can install osCommerce.
OsCommerce works in safe_mode.
Kai
On 5/17/06, kenkensmile@netscape.net kenkensmile@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.
Why would you want to do that?
I wan to install osCommerce and in that case, I have to turn register_globals on. I know what you are concerning, but i have got to do it if I want to install the program. Otherwise, osCommerce keeps saying "FATAL ERROR: register_globals is disabled in php.ini, please enable it!"
Thanks for your help.
Cheers,
Joe
-----Original Message----- From: Collins Richey crichey@gmail.com To: CentOS mailing list centos@centos.org Sent: Wed, 17 May 2006 18:01:34 -0600 Subject: Re: [CentOS] PHP register_globals
On 5/17/06, kenkensmile@netscape.net kenkensmile@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. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
___________________________________________________ Try the New Netscape Mail Today! Virtually Spam-Free | More Storage | Import Your Contact List http://mail.netscape.com
i have to agree. use a different package that does not open your mahcine up to all kinds of nasty attacks and makes you a target of anyone who wants to use your server to host nasty sites amongst other things.
kenkensmile@netscape.net wrote:
Why would you want to do that?
I wan to install osCommerce and in that case, I have to turn register_globals on. I know what you are concerning, but i have got to do it if I want to install the program. Otherwise, osCommerce keeps saying "FATAL ERROR: register_globals is disabled in php.ini, please enable it!"
Thanks for your help.
Cheers,
Joe
-----Original Message----- From: Collins Richey crichey@gmail.com To: CentOS mailing list centos@centos.org Sent: Wed, 17 May 2006 18:01:34 -0600 Subject: Re: [CentOS] PHP register_globals
On 5/17/06, kenkensmile@netscape.net kenkensmile@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. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Try the New Netscape Mail Today! Virtually Spam-Free | More Storage | Import Your Contact List http://mail.netscape.com
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos