Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shreshthtuli committed May 19, 2020
1 parent 70fb027 commit c454497
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file removed HeartModel/~$data.xlsx
Binary file not shown.
4 changes: 3 additions & 1 deletion upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

<?php
$data = $_GET['data'];
if (!(file_put_contents('data.csv',$data) === FALSE)) echo "File xfer completed."; // file could be empty, though
if (!(file_put_contents('HeartModel/data.csv',$data) === FALSE)){
echo "File xfer completed."; // file could be empty, though
}
else echo "File xfer failed.";
?>

0 comments on commit c454497

Please sign in to comment.