newbie question on php security
Posted: Wed Jun 26, 2002 1:38 am
Hi,
Sorry bout this post. You know when you write a php script and you place thatHow safe is this ?
When a user uses a programme which does a grab of this entire site i think the user will be able to see the whole script or am i wrong ?
Is putting all the username/password/db settings in a seperate file and including it the only option ?
Best Regards
Braendan
Sorry bout this post. You know when you write a php script and you place that
Code: Select all
$connect=@mysql_connect("localhost","username","password") or die ("couldnt connect to sql server");When a user uses a programme which does a grab of this entire site i think the user will be able to see the whole script or am i wrong ?
Is putting all the username/password/db settings in a seperate file and including it the only option ?
Best Regards
Braendan
Code: Select all