I wanna set the name of the file with a input field. I already know you could such thing with a variable you need to set yourself
I tried this but it didnt work and I could find anything on the web either about this
$location
$ret = file_put_contents('/tmp/$_POST[$location].txt'
please help
file_put_contents('/tmp/'.$_POST["location"].'txt'