0

fopen() fail

$file = fopen("try","w") or die("fail"); this giving "fail" in browser but in php command line interface doing done ! why?

17th Apr 2020, 6:05 PM
Muhammad Belal
Muhammad Belal - avatar
1 Resposta
0
I think you have forgotten to add extension of the file. ('try.txt','w')
19th Apr 2020, 8:57 PM
Prince