Hello, friends! I'm wanting to make a subfolder in htdocs that would point to the root directory for my Web page. I'm initially placing my Web page on the localhost server, but intend to eventually transfer it to a paid remote server.
I'm wondering if I would place the mysql_connect file (in order to keep it secure) either
1. inside the htdocs folder but one folder above the root directory or
2. above the directory for the htdocs folder as is done in Larry's book. (Forgive me if I'm not expressing this correctly)
If 2. above is correct, how would I reference the mysql_connect file in the includes?
Also, where would I place the msql connect file on a local host server if it's one (or two?) levels outside of the Web root directory?
Thank you for your time and energy!