L?KE
04-06-2008, 07:32 PM
Right, well I've made a simple javascripty login-ma-jig.
Basically, from here, how do I make it so php processes the inputted data?
Here is the javascript, what now?
+REP TO ALL HELP ;)
function login() {
var inUsername = prompt("What is your username?");
if(inUsername=="") {
alert("Sorry, you left out the username field.");
} else {
var inPassword = prompt("What is your password, " + inUsername + "?");
if(inPassword=="") {
alert("Sorry, you left out the password field.");
} else {
PROCESS PASSWORD HERE
}
}
}
Thread moved from Design and development by --ss-- (Forum Super Moderator): Please post in the correct section ;).
Basically, from here, how do I make it so php processes the inputted data?
Here is the javascript, what now?
+REP TO ALL HELP ;)
function login() {
var inUsername = prompt("What is your username?");
if(inUsername=="") {
alert("Sorry, you left out the username field.");
} else {
var inPassword = prompt("What is your password, " + inUsername + "?");
if(inPassword=="") {
alert("Sorry, you left out the password field.");
} else {
PROCESS PASSWORD HERE
}
}
}
Thread moved from Design and development by --ss-- (Forum Super Moderator): Please post in the correct section ;).