Menu

#9 Incompatibility with PHP 4.2

open
None
5
2003-07-08
2003-07-07
No

Starting in PHP 4.2.0, the default for register_globals is
now off. This means that the use of global post
variables can't be used unless the variable is changes.
UIPublish uses global post variables.

At some point, UIPublish should be modified to use other
methods to access these post variables. Until then,
here is a suggestion on how to bypass this problem.

The php docs suggest that the default register_globals
can be changed to on on a per directory basis by
creating a .htaccess file containing the line "php_value
register_globals 1". This file needs to be placed in all
directories that use UIPublish.

See:
http://www.php.net/manual/en/language.variables.extern
al.php
for more information.

Discussion

  • Abhijeet Chavan

    Abhijeet Chavan - 2003-07-08
    • assigned_to: nobody --> chavan
     
  • Abhijeet Chavan

    Abhijeet Chavan - 2003-07-08

    Logged In: YES
    user_id=101362

    Good suggestion. For now, I will add this to the
    documentation. Thanks!

     
  • Wayne Johnson

    Wayne Johnson - 2003-07-08

    Logged In: YES
    user_id=555212

    If you wish, I'd be happy to work with you on a patch for
    this. (see my other e-mail).

     

Log in to post a comment.

MongoDB Logo MongoDB