Help, strange message from host

This is a discussion on Help, strange message from host within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hi Received this, I only just mananged to build the website, don't have a clue on how to handle ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-25-2006
Roddytoo
 
Posts: n/a
Default Help, strange message from host

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


Reply With Quote
  #2 (permalink)  
Old 01-25-2006
Jonathan
 
Posts: n/a
Default Re: Help, strange message from host

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
Reply With Quote
  #3 (permalink)  
Old 01-27-2006
Roddytoo
 
Posts: n/a
Default Re: Help, strange message from host



> 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



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:44 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0