If it is possible, put your connect string
<?
// connect.inc.php
mysql_connect("localhost","user","password");
?>
in a file, store it outside of the webserver root and include it to your script.
<?
// ....
include("connect.inc.php");
// ...
?>
So nobody can read your connect string in the case the php script interpreter is down.