[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Where to put PHP database connection info file on RaQ3?



Hi,

just put a directory at the same level of your /web for the site named someting like 
.."con_files" and put them in it. If you are paranoid call the conffile with a php 
extention so even if someone reach them they will not see them. You can even call 
them  "balabla.inc.php" and fobid in the access.conf the reading of all *.inc.php.


Best regards,
Ghislain.

> Hi,
> 
> I need to made a PHP file with database connection (user and password) info, and
> place it on a non web-accessible directory to be used as an 'include' file for
> the main code. Not sure how to pull this off properly, and, as you can see,  I'm
> not too embarrassed to ask! If someone could help I'd be very grateful to them
> for filling in some of my ignorance gap (still a huge hole to fill :)  )
> 
> best,  Graham
> 
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>