0
I was told that this connection mode is not safe, but I did not understand very well why it is not.
<?php
$conecta = mysql_connect("HOST", "LOGIN", "SENHA") or print (mysql_error());
print "Conexão OK!";
mysql_close($conecta);
?>
And what would be the fix to make a secure connection?
It depends on what you call a secure connection. Secure in what sense?
– Bacco