- [Show pagesource]
- [Old revisions]
- [[unknown link type]]
- []
<VirtualHost www.example.ed.ac.uk> <Location /scriptdir/> php_value mysql.default_host localhost php_value mysql.default_user example php_value mysql.default_password secretpassword </Location> </VirtualHost>
$MySQL_Host = ini_get('mysql.default_host'); $MySQL_User = ini_get('mysql.default_user'); $MySQL_Pass = ini_get('mysql.default_password');
v prvni vlne zabezpeceni php navrhuji zakazat tyto funkce:
disable_functions = "exec,system,passthru,readfile,escapeshellarg,proc_close,proc_open,dl,popen"
linux/php/security.txt · Last modified: 2010/04/01 19:25 by admin