Should be database file with details in root?

Discussion for various published PHP frameworks, including Zend Framework, CodeIgniter, Kohana, CakePHP, Yii, Symfony, and others.

Moderator: General Moderators

Post Reply
toplisek
Forum Commoner
Posts: 31
Joined: Tue Apr 11, 2006 1:23 pm

Should be database file with details in root?

Post by toplisek »

I like to know if it is usual (smart) to place database details in Smarty based website in my root?
Can be attacked by download as we know PHP is server side and can not show content if there is not echo...
Post Reply