For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > January 2006 > Help, strange message from host









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Help, strange message from host
Roddytoo

2006-01-25, 6:57 pm

Hi
Received this, I only just mananged to build the website, don't have a clue
on how to handle this, any advice gratefully received. Website already not
working, could it be this set up prematurely?
(message)
This is to let you know that as from 1 Feb 2006 the setting
"register_globals" in php will be disabled.

This setting has been disabled by default for sometime as it poses security
issues in certain php scripts.

Unfortunately if you site needs the "register_globals" enabled you will need
to recode the script.

If you are using third party scripts, you are advised to get the most recent
release, as most well known php scripts have already been recoded to work
with the new php default settings.
?

We apologise for the inconvenience this may cause you.

Waaaah! Help!
Chris


Jonathan

2006-01-25, 6:57 pm

Roddytoo wrote:
> Hi
> Received this, I only just mananged to build the website, don't have a clue
> on how to handle this, any advice gratefully received. Website already not
> working, could it be this set up prematurely?
> (message)
> This is to let you know that as from 1 Feb 2006 the setting
> "register_globals" in php will be disabled.
>
> This setting has been disabled by default for sometime as it poses security
> issues in certain php scripts.
>
> Unfortunately if you site needs the "register_globals" enabled you will need
> to recode the script.
>
> If you are using third party scripts, you are advised to get the most recent
> release, as most well known php scripts have already been recoded to work
> with the new php default settings.
> ?
>
> We apologise for the inconvenience this may cause you.
>
> Waaaah! Help!
> Chris
>
>


It means that the option register_globals in php is since that date
defaulted to off instead of on as int used to be.

In short it means this:

Values from the $_POST and $_GET array can only be accessed like this
with register_globals off:

echo $GET['value'];

and can not be accessed like this anymore:

echo $value;

You can read more here: http://nl3.php.net/register_globals

Jonathan
Roddytoo

2006-01-27, 6:56 pm



> It means that the option register_globals in php is since that date
> defaulted to off instead of on as int used to be.
>
> In short it means this:
>
> Values from the $_POST and $_GET array can only be accessed like this with
> register_globals off:
>
> echo $GET['value'];
>
> and can not be accessed like this anymore:
>
> echo $value;
>
> You can read more here: http://nl3.php.net/register_globals
>
> Jonathan



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com