First question (regarding Login)
What is the best way to do a login script?
Second question:
If i have a variable in one php file ($con for example) could i call that same variable in another file if i use an include function to include the file that the script. This is why i'm asking
I want to make a connection file so i don't have to type all that out every page. so can i do that and create a var such as
$con = mysql_connect("localhost", "root", "");
and call that variable in other forms or do i need to declare it a global variable to do that?