![]() |
Security Token in javascript
i have a search form in .js file. and i have security token problem. i have the following code in my form code in .js file,
document.writeln("<input type=\"hidden\" value=\'$bbuserinfo[securitytoken]\' name=\"securitytoken\"/>); What is the wrong? |
You cannot access PHP variables in JS. You need to call the equivalent variable - in this case, SECURITYTOKEN.
|
All times are GMT. The time now is 11:17 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:
|