Hello,
I am probably missing something but I can not seem to write anything that comes from $_POST to a file. My problem is with the second line below:
<?php
echo $POST['var']; //works fine
file_put_contents('file1.txt',$POST['var']);//file empty
file_put_contents('file2.txt','some output');//works fine
?>
I read a lot about types, super globals, file_put_contents etc. but there's nothing to help me there. Any help greatly appreciated.
Sirch