Is this connection string secure on shared hosting?
Posted: Fri Feb 16, 2007 8:36 am
Hello,
We normally use connection string in this way
I want to know that is it secure on Shared Hosting. If not please advise how can we make it secure?
TIA!
We normally use connection string in this way
Code: Select all
<?php
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>TIA!