Iíve already suggested using extract(), which does exactly what your code does, but was ignored so I assumed it wasnít a viable solution (for what reason I donít know).
Originally Posted by felgall
K, Thanks for the replies, i'll try to put in one of the methods suggested, though, i'll still be interested in making register_globals "on/off" from my script, b'coz some scripts like oscommerce and oscmax also require register_globals on!
Only the old version of oscommerse required register globals on. If you are using the latest version with the correct security plugins then you must have it off.
Originally Posted by kuldeepkaundal