My host has register_globals ON. In order to turn them off, they've told me to create and put a php.ini file (setting it to OFF) "in the directory (subfolder) containing your PHP applications". But almost every directory contains PHP files, or do they mean just in the folders where PHP handles GET/POST/COOKIE data (still, that's lots of folders)?
On a related note, perhaps it is erroneous of me to have such code all over my site. Should the form/database related code be separate from the live pages and saved all in one folder somewhere (perhaps outside the webroot??) and inserted as includes instead?