New course! Every coder should learn Generative AI!
Try a free lesson0
fopen() fail
$file = fopen("try","w") or die("fail"); this giving "fail" in browser but in php command line interface doing done ! why?
1 Answer
0
I think you have forgotten to add extension of the file. ('try.txt','w')