All pastes #252845 Raw Edit

Someone

public php v1 · immutable
#252845 ·published 2006-11-20 00:47 UTC
rendered paste body
<?phpecho '<form action='. $_SERVER['PHP_SELF'] .'?do=mail method=\'post\'><input type=\'text\' name=\'mail\' /><input type=\'submit\' /></form>';if ($_GET['do'] == 'mail'){	$headers = 'From:' . "$_POST[mail] \r\n" . 'Reply-To:' . "$_POST[mail] \r\n" . 'X-Mailer: PHP/' . phpversion();	$mail = mail('hesperaux@gmail.com', 'this is a subject', 'this is some message', $headers);	var_dump($mail);}?>