14/11/2000
Apologies if this question has been asked before.
Is it ok/safe if the connection details (username,password,database) are used within a page ? Or is it better to store them in an .inc file ?
Thanks
I would say it better to store it in an .inc file that would be safer and much more convenient if you have edit the connection code and you have a lot of pages connecting to the same database
Remember to store the inc file in a location that is outside the webservers document root!