![]() |
Securitytoken in PHP?
Hello,
how do I implement the security token in a PHP file? $bbuserinfo[securitytoken] is empty. Since I generate my whole form in PHP I can't use the <vb:raw for that. thanks edit: Okay found it... $vbulletin->userinfo['securitytoken'] Funnily, when I Google VBulletin 4 and Security Token only stuff about templates is being shown, via german Google. Well on some site very hidden I found that array and tried it, worked. |
Yes exactly $userinfo is an array available only in templates, on php code the equivalent is $vbulletin->userinfo
|
All times are GMT. The time now is 02:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|