"register_globals" problem....

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ashzepp
Forum Newbie
Posts: 4
Joined: Mon Jun 17, 2002 2:41 pm

"register_globals" problem....

Post by ashzepp »

Hi Everybody,
Hi everyone. I 've a problem with register_globals setting on my server. In my php.ini file it's turned to ON. Now Iam hosting a new site on the server, and for security reasons I want it to be turned OFF. But if I turn it off in ini file, my previous site won't work properly. So can any body help me, please. I guess there should be some way to turn it OFF or ON at runtime through program.
So if u have solution to my problem, please help me. Your help 'll be really appreciated. Thanks in anticipation.
Regards
Ash
Zmodem
Forum Commoner
Posts: 84
Joined: Thu Apr 18, 2002 3:59 pm

Post by Zmodem »

I dunno if you can change the setting at run-time or not.

But do check out this link. It will show you how to fix your script.

http://www.devnetwork.net/forums/viewtopic.php?t=511
Post Reply