tip of the day: php settings via htaccessOkay, this has been covered a lot but I find it very handy so maybe it will help someone… Did you know you can change many PHP settings through .htaccess files? Example index.php?t=thing&s=stuff
but they still come like index.php?t=thing&s=stuff
So to fix this you need to change a couple of PHP settings which generally would mean trawling through the server and editing php.ini, which in turn may not be possible for many hosted sites as many IPS’s simply don’t give access to this for good reason. In this case (and to help make your site more portable) in your htaccess file just add… php_value arg_separator.input ;&
This is just one example, there’s plenty more you can do. For more on htaccess and php settings see Sopel and corz and of course the PHP documentation Comments... |