I'm creating a login script for a website I'm developing. At the moment I have the usernames and passwords hard-coded into the script. i.e.
$usersAndPasses = array(
'username1' => 'password1',
'username2' => 'password2'
)
and so on
I was wondering if this is any less secure than placing them in a MySQL database.
Thanks