[PHP] (newbie) How to keep files ?

2003-10-13 Thread Sudheer Palaparambil
Hi, I have a few gif files and five php files and using mysql database and planning a shared hosting. The web contents are static. How should I keep the files in my web space? Should I restrict access to the php files? How do I safeguard my mysql login parameters (which I hard coded in the php

Re: [PHP] (newbie) How to keep files ?

2003-10-13 Thread Mohamed Lrhazi
Your question is not clear enough Who are you trying to protect your files from? All of you files must be accessible to the web server and to yourself, via ftp or ssh or sth. your php script needs the mysql login info... where would it find them, if not hard coded in the script, or in a file