From: moodler
-file_uploads = 1 -magic_quotes_gpc = 1 -short_open_tag = 1 -session.auto_start = 0 +file_uploads = On +magic_quotes_gpc = On +short_open_tag = On +session.auto_start = Off
If you don't have access to httpd.conf or php.ini on your server, or you @@ -184,10 +185,10 @@ session.auto_start = 0 This only works on Apache servers and only when Overrides have been allowed.
+php_value magic_quotes_gpc On +php_value file_uploads On +php_value short_open_tag On +php_value session.auto_start OffDirectoryIndex index.php index.html index.htm -php_value magic_quotes_gpc 1 -php_value file_uploads 1 -php_value short_open_tag 1 -php_value session.auto_start 0
You can also do things like define the maximum size for uploaded files:
php_value upload_max_filesize 2M