File handling | Sololearn: Learn to code for FREE!


File handling

does anyone can help me? fopen('file','w') is not creating any file and fwrite();is not writing anything in my local disk I am using xamp ,local server in linux.... I am stuck for the whole day. feel free to comment

7/5/2017 10:05:13 AM


2 Answers

New Answer


I just changed file permission to 777 and now it's working


Use double quotes. fopen("file", "w");