The blank page is probably because you have errors but you don't have error checking turned on in order to see them. Also as nogdog says, don't use session_register. I suggest you do some reading in the manual. Here's an example of some knowledge there:
// Use of session_register() is deprecated
$barney = "A big purple dinosaur.";
session_register("barney");
// Use of $SESSION is preferred, as of PHP 4.1.0
$SESSION["zim"] = "An invader from another planet.";
Other suggestions:
Use the code tags for this forum to post your code in.
Write neater looking code - try indenting some lines like:
if (condition)
{
statement1;
statement2;
statement3;
}
Don't you agree that this is much more readable?
Another thing: Why are you using stripslashes on an input field? Who put the slashes there?