denby
06-23-2006, 01:41 PM
I have a review scipt written in Perl and I want to validate users' login status using the $vbulletin->userinfo['userid'] value: if it's not zero then I let them in. I decided to try using the embedded php intrepreter Perl module (http://search.cpan.org/dist/PHP-Interpreter/) and the basic functionality is OK but it seems to give a zero result all the time instead of only when I'm logged out.
I'm wondering whether when this module is instantiated it loses sight of the GPC array by operating in a new environment. Has anyone else tried this Perl module? Is there another way I can check the user login status (apart from cookie detecting)? I'd prefer a solution that is independant of cookies because they are open to abuse.
I'm wondering whether when this module is instantiated it loses sight of the GPC array by operating in a new environment. Has anyone else tried this Perl module? Is there another way I can check the user login status (apart from cookie detecting)? I'd prefer a solution that is independant of cookies because they are open to abuse.