![]() |
How do you convert your 3.0 hack to 3.5 ?
this is an example of what I'm doing:
PHP Code:
what is your opinions ? |
Please see the HOW-TO section for 3.5
PS I don't understand your remark about 3.0 creating variables automatic, please provide examples. |
He means the Variables created by globalize()
|
Well they sre still created, only part of an array now.
|
Quote:
|
Quote:
|
Quote:
For a bigger one I'm looking to convert I'm considering writing a small function to call after calling the gpc cleanup, that converts everything in the gpc array to a variable as well. |
I think (but could be wrong) that security is the reason for this construction.
When a script starts it will unset the whole array, making sure that no external source can insert values. |
thanks for the answer, but is it ok if I use like the example in my first post ? or should it be 'reference' ?
else I would have to 'find and replace' +_+ |
Your method works, but personally I replaced variables with the GPC array reference instead of relying on globalize at all.
|
All times are GMT. The time now is 12:54 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:
|