Oops! you too Sleo!
bennie wrote:
Xoops builders and users,
i just migrated from php4 to php5 and the core system works like a charm (Xoops 2.0.9.2) but a lot of modules were not working. so here is what i did to get it working:
basicly the problem is a change in the global variables. these are the 4 variable stings i changed to get it to work.
$HTTP_GET_VARS ==> $_GET
$HTTP_POST_VARS ==> $_POST
$HTTP_COOKIE_VARS ==> $_COOKIE
$HTTP_SERVER_VARS ==> $_SERVER
i hope this helps in getting you're site up and running with php5. if there is more that needs change please post it here so we can make it work.
Thanks Ben
return $GLOBALS['xoopsSecurity']->checkReferer($docheck);
Mithrandir wrote:
It is possible to completely turn off that check by going to include/functions.php around line 137:function xoops_refcheck($docheck=1)
{
return true; //<-- Insert this line here
$ref = xoops_getenv('HTTP_REFERER');
if ($docheck == 0) {