All pastes #560536 Raw Edit

Someone

public text v1 · immutable
·published 2007-06-12 03:35 UTC
rendered paste body
Why does the following code always return me to a 404 error page.  Afte the file is created, I want it to continue on with the script



if ($config['bypass_regconfirm'] == 'Y') {

	$active=1;

	$actkey = 'Confirmed';

	$conf="1";
	mkdir("members/$username", 0700);
	$File = "members/index.txt"; 
	$Handle = fopen($File, 'w');
	$Data = "File successfully created\n"; 
	fwrite($Handle, $Data); 
	fclose($Handle);  

} else {

	$actkey = md5( $email . time() );
}