RE: [PHP] Opinion on a method....
| From: | Bryan Lipscy | Date: | Fri, 04 Apr 2003 19:14:03 +0000 |
| Subject: | RE: [PHP] Opinion on a method.... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142399@lists.php.net to get a copy of this message | ||
Put the connect info into a php file (i.e. connect.php).
If it is ever directly accessed by the client the PHP engine will render
a blank page.
If your ini file is ever accessed by the client it will render the
contents of the ini file.
Wonder if removing rwx would adversly affect includes to this php
file..........
-----Original Message-----
From: Dan Joseph [mailto:djoseph@duhq.us]
Sent: Friday, April 04, 2003 11:05 AM
To: php-general@lists.php.net
Subject: [PHP] Opinion on a method....
Hi,
I would like to get some opinions here on a method I'm doing to grab
connect information for a mysql connection.
Currently I am doing: $pinfo = fopen
("/director1/directory2/filename.ini",
"r");
I'm looking for a more secure method of doing this. Is XML a solution?
Is there something else? Are you doing something similar?
All opinions greatly appreciated...
-Dan Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php