Hello, It seems I can't open an emtpy file with file(), it works only with fopen() but that doesn't suit me.I want to do this so I can input lines from another file. What is wrong ? Thanks.