Android-Error-Reporter
Android-Error-Reporter copied to clipboard
how could be php sample?
hi sorry for my poor English, just i had a question about the php file that must be located in the server, cause i dont know any php , i wanted to know how could be source of a php file that emails the error to a specific email?
thanks
here is simplest php you can use
if(isset($_GET['project']) && $_GET['project']){
$_POST['time']=date('Y-m-d H:i:s');
//$_POST['raw']=file_get_contents('php://input');
//$_POST['server']=$_SERVER;
mail('[email protected]',$_GET['project'].' Android App Error Report',var_export($_POST,true));
}