can you write a simple login php script to authenticate users

please

thanks