hi,
well, the thing is, depending on you hoster config, the htaccess "command" varies from sentEnv var to the flag line with different syntax... they should be able, at least, to tell you which one
something else, depending on your hoster config too, you may have to modify a local php.ini file instead of doing this with htaccess, this can take place either in the website directory or, for example in a php5 directory one step above you site root
have swing
réfléchir avant d'agir
Update: Some minor progress
The web host was able to turn register_globals Off, I'm looking at the phpinfo file now. However, if I uncomment #php_flag register_globals Off in the root MODX htaccess file I still get the 500 error. Anyone have an idea or suggestion as to what the problem might be?
Todd
hi,
well, if your hoster turned it to off, no need to uncomment the htaccess line
the fact is, as i said, that depending on your hoster config, the server may not accept some htaccess commands or need to have them written with a different syntax (set entVar or else)
have swing
réfléchir avant d'agir
hi,
too bad, no, you understand things quite well and if my test files show test you're sure registers global are on and this is a huge security hole
in this case if i were you i would contact the hoster and ask them to turn them off or give you the ability to do this with a php.ini (as htaccess commands don't seem to be accepted) and, if they don't, sincerely, not a joke, change your hoster
the fact you can inject vars without retreiving them with $_POST, $_GET and so on is
- first, as i said a huge security hole, sort of a hackers welcome
- a real problem as you can't know for sure what var you're dealing with in you scripts, what makes things very hard to test even with for a simple form for example
have swing
réfléchir avant d'agir