Security issues

changed to absolute path and it worked… >.<

Got one more question, i got a conn.php file included in all of my pages, containing the code to connect to the DB, will it add anymore security if ill put it outside of the webroot? is it recommanded?

Now how do i block the file from viewing when entering the URL in the browser?
i treid an example with .htaacess online but it didnt work for me (again :frowning: )

<Files logs.txt>
 Order allow,deny
 Deny from all
 Satisfy All
</Files>