关于PHP文件树的问题,求解释。
PHP scripts that are used to connect to the database need access to the password for
that user.This can be done reasonably securely by putting the login and password in a
file called, for example, dbconnect.php, that you then include when needed.This script
can be carefully stored outside the web document tree and made accessible only to the
appropriate user.
我初学网页编程,看的是PHP和MySQL Web开发,我想问下这句话怎么理解。
This script can be carefully stored outside the web document tree and made accessible only to the appropriate user.
不把脚本放在文件树下,那上传到虚拟空间后,怎么访问这个脚本呢?