.user.ini configuration file

.user.ini. It is more widely used than .htaccess, no matter the server is nginx/apache/IIS, when using CGI/
FastCGI to parse php, php will search all .ini files in the directory first, and apply the configuration in it.
Similar to apache's .htaccess, but the syntax is different from .htaccesses, and the syntax is consistent with php.ini.

auto_prepend_file=test.jpg

Upload the file .user.ini with the content:
auto_prepend_file=test.jpg
and then upload a script with the content of php and name it test.jpg.
.user.ini file role: all php files automatically include the test.jpg file. .user.ini is equivalent to a user-
defined php.ini.

Guess you like

Origin blog.csdn.net/m0_52051132/article/details/128265863