Posts: 366
Name: Steve
Location: Miami, FL, Earth
|
Use the URL: /my_page
Then use .htaccess to rewrite that to /page.php?title=my_page
Then use that to load my_page.php from outside your webroot.
This way, my_page.php is never directly accessible via web, adding security to your app.
You can also in the future add functionality to load pages from the database instead of from a path.
__________________
- Steve
President, Please login or register to view this content. Registration is FREE
|