Hi All,
I have created a ‘login’ swf on the homepage of my website. If the login details are corret I want to open a new html page (do this using getURL) how do I send the username details across to the next page in the easiest way.
I would prefer opening seperate html pages rather than having one big .swf.
Thanks!
Devin
I assume you already have your database created??
If not heres an example:
CREATE TABLE auth (
userid
int(4)
unsigned
zerofill
DEFAULT '0000'
NOT NULL
auto_increment,
username varchar(20),
userpassword varchar(20),
PRIMARY KEY (userid)
);
[COLOR=Black]
Run this query in phpMyAdmin. That’s your database,
you know need to create two text boxes, “user"
and “password”. Next you need to put this on your
"Login” button.
loadVariablesNum("login.php", 0, "POST");
}
}
This will send your variables, “user” & “password” through
to your login.php, which will be the actual workings of
this operation.
[/COLOR]