Page 1 of 1

File creation problem in linux

Posted: Mon Dec 27, 2010 2:38 am
by nitinrk
Hi all,

Am using php,Apache On Ubuntu Linux....

My problem is.. Am trying to create a file in my project folder but its not creating and giving error

Anybody who knows how to create the file within my project folder in linux...

The same code is working for windows machine but not in linux


Thanks in Advance

Re: File creation problem in linux

Posted: Mon Dec 27, 2010 2:45 am
by cpetercarter
How are you trying to create the file? With PHP? Or using a shell command in the Linux terminal?

Re: File creation problem in linux

Posted: Mon Dec 27, 2010 2:50 am
by nitinrk
Using php fread and also tried to create with file_put_contents functions.... But its giving same error

Re: File creation problem in linux

Posted: Mon Dec 27, 2010 3:08 am
by cpetercarter
What error message do you get?