Welcome Guest, Not a member yet? Register   Sign In
Using xml files for a web project.
#6

Almost ... if base_url('assets/...') is publically accessible, you are exposing your data, which is not good.
A better practice is to map your document root to your "public" folder, put index.php inside that, and to keep any XML data in a separate folder inside the project (or even elsewhere on your server).

Eg.
project
- application
- data
- XML ...
- public
- assets/images, css, etc
- index.php
- system
Reply


Messages In This Thread
Using xml files for a web project. - by HarrysR - 03-07-2019, 03:15 PM
RE: Using xml files for a web project. - by ciadmin - 03-07-2019, 05:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB