<?php
$error_msg = ""; //CREATE A DUMMY ERROR MSG
if(isset($_REQUEST['submit'])){ //CHECK IF SUBMIT BUTTON WAS PRESSED
$un = $_REQUEST['username']; //GET USERNAME
$pw = $_REQUEST['password']; //GET PW
if($un == "" || $pw == ""){ //MAKE SURE THEY ARE NOT NULL
$error_msg = " Please make "
."Sure all feilds are complete"; //CREATE AN ERROR MESSAGES
}else{ //OTHERWISE THINGS ARE GOOD
$newName = sha1(strtoupper($un).
":".strtoupper($pw)); //CREATE THE PW. <-- fix this line if encypt has changed
echo "<center>ACCOUNT INFO:<P/>"; //SHOW IT.
echo "ID: ".strtoupper($un).
" PW: ".strtoupper($newName);
die();
}
}
If nothing has changed in the encryption this should work for a simple plugin for any website.
If not, fix the part highlighted in red.
I think there are other post like this just search around.
mods: I know this should go in a different area, just replying
[Request] Working Web Register page!
in Web Scripts
Posted
thx. quick and painless.