|
Posted by nobody on 08/18/06 05:03
Hello,
Im new to PHP and MySQL and decided to write my first PHP script that
will take an email address from a form (newsletter sign up) and store it
in a MySQL database.
From my initial learnings on PHP, I must first connect to the database:
$connect = mysql_connect("localhost","username","password");
Is the above line of code a security risk to hackers and spammers? I
know PHP is executed on the server side, but I feel having a file
sitting on the server(http) with this sensitive info is vulnerable.
Is there nothing to worry about or should I be aware of additional
security measures? Thank you in advance for your time and words.
George
http://gpalzproductions.com
Navigation:
[Reply to this message]
|