Hellcat
02-10-2006, 01:00 AM
Hi!
I have this snippet of code: $vbulletin->input->clean_array_gpc('p', array( "countdownuserfield" => TYPE_STR,
"cdsettings" => TYPE_ARRAY ));
$cdsettings = $vbulletin->GPC["cdsettings"];
$cdprofilefield = $vbulletin->GPC["countdownuserfield"];
It runns fine on my local test vB, on a 1:1 copy of my live board made on my laptop and for many other people that installed my hack using this code.
BUT:
On my own live server this code does: NOTHING!
The two var's are supposed to get filled with the contents of the GPC stuff, but on my live server they are not....
WHY?
Anyone got a clue?
PHP version on my server is 4.3.1-52, my local testsetup runns 4.4.0
If it's a problem with the PHP version?
Unfortunately I am not able to upgrade the PHP on my server ATM.... Is there a workaround?
I also tried turning SaveMode off - didn't help either.
I have this snippet of code: $vbulletin->input->clean_array_gpc('p', array( "countdownuserfield" => TYPE_STR,
"cdsettings" => TYPE_ARRAY ));
$cdsettings = $vbulletin->GPC["cdsettings"];
$cdprofilefield = $vbulletin->GPC["countdownuserfield"];
It runns fine on my local test vB, on a 1:1 copy of my live board made on my laptop and for many other people that installed my hack using this code.
BUT:
On my own live server this code does: NOTHING!
The two var's are supposed to get filled with the contents of the GPC stuff, but on my live server they are not....
WHY?
Anyone got a clue?
PHP version on my server is 4.3.1-52, my local testsetup runns 4.4.0
If it's a problem with the PHP version?
Unfortunately I am not able to upgrade the PHP on my server ATM.... Is there a workaround?
I also tried turning SaveMode off - didn't help either.