Re: [PHP] re[PHP] gister_globals

2008-01-16 Thread Jochem Maas
Sancar Saran schreef: Hello Hell frezezer over. odd verb. but I get the message. indeed it's seem it hath freezeth nicely. Me thinks regsiter_globals are evil too. And what about this session_start(); $_SESSION['refString'] = $_GET['refNo']; what about it? 1. you mean the fact that the G

Re: [PHP] re[PHP] gister_globals

2008-01-16 Thread Sancar Saran
Hello > > > > Hell frezezer over. > > odd verb. but I get the message. indeed it's seem it hath freezeth nicely. > > > Me thinks regsiter_globals are evil too. > > > > And what about this > > > > session_start(); > > > > $_SESSION['refString'] = $_GET['refNo']; > > what about it? > > 1. you mean t

Re: [PHP] re[PHP] gister_globals

2008-01-16 Thread Jochem Maas
Sancar Saran schreef: On Wednesday 16 January 2008 15:33:04 Jochem Maas wrote: tbt schreef: Hi, I'm a newbie to php and i would like to set register_globals to 'on' from my php script itself(eg:- index.php). Is there any way of doing this. you think you would like that. but you are wrong. reg

Re: [PHP] re[PHP] gister_globals

2008-01-16 Thread Richard Lynch
On Wed, January 16, 2008 12:21 am, tbt wrote: > I'm a newbie to php and i would like to set register_globals to 'on' > from my > php script itself(eg:- index.php). Is there any way of doing this. You can't turn it "on" really, because by the time your PHP script is running and trying to turn it "o

Re: [PHP] re[PHP] gister_globals

2008-01-16 Thread Sancar Saran
On Wednesday 16 January 2008 15:33:04 Jochem Maas wrote: > tbt schreef: > > Hi, > > > > I'm a newbie to php and i would like to set register_globals to 'on' from > > my php script itself(eg:- index.php). Is there any way of doing this. > > you think you would like that. but you are wrong. register_

Re: [PHP] re[PHP] gister_globals

2008-01-16 Thread Jochem Maas
tbt schreef: Hi, I'm a newbie to php and i would like to set register_globals to 'on' from my php script itself(eg:- index.php). Is there any way of doing this. you think you would like that. but you are wrong. register_globals is a security risk in the hands of someone who doesn't know exactl

Re: [PHP] re[PHP] gister_globals

2008-01-16 Thread Richard Heyes
I'm a newbie to php and i would like to set register_globals to 'on' from my php script itself(eg:- index.php). Is there any way of doing this. You can't do this from inside the script with ini_set() as register_globals has already had it's affect at that point, so you can put this in a .htacc

RE: [PHP] re[PHP] gister_globals

2008-01-15 Thread Andrés Robinet
> -Original Message- > From: tbt [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 16, 2008 3:22 AM > To: php-general@lists.php.net > Subject: [PHP] re[PHP] gister_globals > > > Hi, > > I'm a newbie to php and i would like to set register_globals to 'on' > from my > php script itself(