php fopen is safe here? is possible for anyone by pass the .txt

Viewed 27

One of our client using this code, what are possible scenarios to hack this

<?php

$handle     =   fopen($_GET['filename'] . ".txt", 'wa');
fwrite($handle, $_GET['data']);
fclose($handle);
0 Answers
Related