<html>
<head><title>php test</title></head>
<body>

<?php 

$new = $_GET["new"]."\n"; print_r($new);

/*file_put_contents("/var/www/html/php.csv",$new);*/



$file = fopen("/var/www/www-data/php.txt", "w");
fwrite($file, $new);
fclose($file);

?>

</body>
</html>
