SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Dec 30, 2005, 17:03 #1
- Join Date
- Jul 2004
- Location
- canada
- Posts
- 3,193
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
{ SOLVED } How to secure INI file?
{ SOLVED } I have INI file for settings. Now, i cant store this file out of the server root, and it HAS to be in public_html.
Is there any way securing this file such that it can only be read by another PHP script and not any other users.
-
Dec 30, 2005, 17:08 #2
- Join Date
- Jul 2004
- Location
- canada
- Posts
- 3,193
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
{ solved }
Never mind solved it. And this is how i did it, in case somebody wants to know
OR somebody wants to give other suggestions
Code:;<?php if(!defined('LOAD')){ dIe('Not Found');} ?> [DB] host = localhost
Bookmarks