+ 1
How to open the file
I wanna to open text.txt file to write hello into him
2 Answers
+ 1
$variable = file_get_contents("file.txt");
0
$h=fopen("text.txt","w");
fwrite($h,"hello");
fclose($h);
I wanna to open text.txt file to write hello into him