Hello all,
1) I need to access a cookie in monobook.php (mediawiki1.5) I tried with $_COOKIE and $HTTP_COOKIE_VARS (with globals declaration) but nothing worked
2) the famous captcha system seem not to be able to access $_SESSION
I guess this restrictions are for security reasons.
Can one of the founder give a simple explanation on the change about the superglobals in mediawiki, and/or give a solution to access to these variables.
Thank you for your work on MW
François
FxParlant wrote:
- I need to access a cookie in monobook.php (mediawiki1.5)
I tried with $_COOKIE and $HTTP_COOKIE_VARS (with globals declaration) but nothing worked
Should work fine, check with a PHP support forum if you still have problems.
- the famous captcha system seem not to be able to access $_SESSION
Don't know what this means.
-- brion vibber (brion @ pobox.com)
Thank you Brion for answering so rapidly, I'll try to play more with php, must have forgotten something
François
Brion Vibber wrote:
FxParlant wrote:
- I need to access a cookie in monobook.php (mediawiki1.5)
I tried with $_COOKIE and $HTTP_COOKIE_VARS (with globals declaration) but nothing worked
Should work fine, check with a PHP support forum if you still have problems.
- the famous captcha system seem not to be able to access $_SESSION
Don't know what this means.
-- brion vibber (brion @ pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org