File handling | Sololearn: Learn to code for FREE!

+3

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

Ermyas

2 Answers

New Answer

+2

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

0

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