The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Ok I'm having problems with a switch case I'm trying to run on a script I'm trying to program.
here is the entire script with all the html as well. PHP Code:
|
|
#2
|
||||
|
||||
|
this will just work if register globals are ON in your php.ini
with php4.2.x it's off normally |
|
#3
|
||||
|
||||
|
ah that is probably my problem I will check the phpinfo files.....
and they are off Another question though which is better having them off or on is it a risk worth taking? |
|
#4
|
||||
|
||||
|
AFAIK it's not that risky, so you can turn it on.
but nevertheless you should try to write your scripts in a way so globals on isn't needed
|
|
#5
|
||||
|
||||
|
ok thanks for the advice
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|