getTimestamp(); $url='private/anonymous/'.$current_date.'.html'; $hdl=fopen('/var/www/html/'.$url,'w'); fwrite($hdl,$data,strlen($data)); fclose($hdl); $email_variant=str_replace('
downloadDownload
','View',$data); $to_email = 'tesses50@tesses.cf'; $subject = 'Anonymous Email'; $headers ='Content-Type: text/html'; mail($to_email,$subject,$email_variant,$headers); header('Content-Type: text/html'); echo $data; fclose($handle); }else{ echo "Error name or message not set"; } ?>