File creation problem in linux

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nitinrk
Forum Newbie
Posts: 2
Joined: Mon Dec 27, 2010 2:33 am

File creation problem in linux

Post 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
cpetercarter
Forum Contributor
Posts: 474
Joined: Sat Jul 25, 2009 2:00 am

Re: File creation problem in linux

Post by cpetercarter »

How are you trying to create the file? With PHP? Or using a shell command in the Linux terminal?
nitinrk
Forum Newbie
Posts: 2
Joined: Mon Dec 27, 2010 2:33 am

Re: File creation problem in linux

Post by nitinrk »

Using php fread and also tried to create with file_put_contents functions.... But its giving same error
cpetercarter
Forum Contributor
Posts: 474
Joined: Sat Jul 25, 2009 2:00 am

Re: File creation problem in linux

Post by cpetercarter »

What error message do you get?
Post Reply