You're better off rewriting the script so register globals is off, it's a security hazard. You don't mention your distribution but you should be able to find php.ini using either "find php.ini" or "locate php.ini", it is probably somewhere under /etc.
|