Apache

How to prevent opening a site in an iframe
Several options for how to prevent opening pages of your site in an iframe using htaccess, PHP and JS.
270
0
Disable PHP caching
Sometimes on hostings PHP opcache caching is enabled by default. Edits were made in the code, but on the site everything is displayed as before...
57
0
Session lifetime in PHP
By default, in php, the session lifetime is only 24 minutes, and cookies are saved until the browser is closed, such parameters are set on many hosting services.
152
0
Prevent PHP scripts from executing in a directory
If you want to prohibit the execution of php scripts in a directory, for example, in uploads, you need to put the...
75
0
UTF-8 encoding settings on the site
This article summarizes the list of techniques for the correct operation of the site in UTF-8 encoding.
37
0