i did this tutorial :http://www.kirupa.com/developer/actionscript/authentication.htm
i made a db and made a a pass and username but i cant get it to login it keeps saying :Begin Login Process - Wait…
but it doesent go further
this is the code of the newlogin.php:
<html>
<head>
<meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-1”>
<title>Untitled Document</title>
</head>
<body>
<?
//this pulls the variables from the flash movie when the user
//hits submit. Use this when your global variables are off.
//I don’t know how to toggle global variables, so I just put
//it in all the time 
$user=$_POST[‘user’];
$pass=$_POST[‘pass’];
//connect to database
if ($user && $pass){
mysql_pconnect(“localhost”,“root”,"") or die (“didn’t connect to mysql”);
mysql_select_db(“login”) or die (“no database”);
//make query
$query = “SELECT * FROM yourtable WHERE username = ‘$user’ AND userpassword = ‘$pass’”;
$result = mysql_query( $query ) or die (“didn’t query”);
//see if there’s an EXACT match
$num = mysql_num_rows( $result );
if ($num == 1){
print “status=You’re in&checklog=1”;
} else {
print “status=Sorry, but your user name and password did not match a user name/password combination in our database. Usernames and passwords are entered in from a different file. Thank you for visiting test login script!!&checklog=2”;
}
}
?>
</body>
</html>
it suld work but it doesent work can eny 1 help mee