01-07-2006, 06:18 AM
Ive just signed up to a new web host, webcentral. They have r_g set to off but i need to use it for my site. I may have posted on here before and i acquired a fix for it but i was unable to find the post again.
If anyone could assist me that would be great.
01-07-2006, 09:16 AM
Is this (http://www.codingforums.com/showthread.php?t=72619&highlight=globals) what you're looking for?
If that doesn't work for you, check with your web host. They might have to use some funky way of turning off register_globals for you, same as what I had to go through.
01-07-2006, 09:51 AM
Rather than open yourself up to a security flaw by having globals on, why not simply tweak your variable references so that they work with globals off?
01-07-2006, 01:17 PM
But you're beter off doing what ^ said.
01-07-2006, 10:57 PM
Any script that doesn't work with register globals off is a lot less secure than one that works with register globals on. It is not like the code changes that are needed are all that difficult.