htaccess magic quotes question
Hello - I found some information about putting php.ini values in an .htaccess, and I understand directives like:
php_value max_execution_time 300
php_value upload_max_filesize "10M"
php_value memory_limit "16M"
However, the information I read also had directives for "magic quotes" which I don't understand despite reading the PHP website about it. Mostly, the examples seem to be about how programmers should be careful about this or that regarding the subject of "escaping" certain characters - backslashes in paths and such. There are many others as well.
Now, I wonder if someone would be so kind as to answer a question. My question is, how should these variables be set for Tiki, and is there a clear recommendation?
- Override PHP variables:
- If you are using Apache 2, you have to use instead of .
php_value register_globals 0
php_value track_vars 1
php_value short_open_tag 1
php_value magic_quotes_runtime 0
php_value magic_quotes_sybase 0
php_value magic_quotes_gpc 0
php_value arg_separator.output "&"
php_value session.cache_expire 200000
php_value session.gc_maxlifetime 200000
php_value session.cookie_lifetime 2000000
php_value session.auto_start 0
php_value session.save_handler user
php_value session.cache_limiter none
php_value allow_call_time_pass_reference On
Thank you for Tiki, and what must be some serious hard work creating such a great piece of software.
Kind regards,
Rick Cogley