chmod doesn't work?
From: stijn goris (mepisto_at_hotmail.com)
Date: 06/29/04
- Next message: angel duran: "help identifying the clicked record"
- Previous message: Marko: "Re: Newbie - Trying to set up PHP to work on my Laptop"
- Next in thread: Five Cats: "Re: chmod doesn't work?"
- Reply: Five Cats: "Re: chmod doesn't work?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 29 Jun 2004 18:03:11 +0200
hi all,
I have a file (mode 644) I want to change to mode 777.
The code:
if (file_exists($this->mailAliasFile))
{
echo "file exists<br>";
if (chmod ($this->mailAliasFile, 0777))
echo "OK<br>";
else
echo "not OK<br>";
}
Returns:
file exists
NOT OK
The file is stored on a linux server. Someone knows how I can obtain the rights to modify it?
regards
Stijn
- Next message: angel duran: "help identifying the clicked record"
- Previous message: Marko: "Re: Newbie - Trying to set up PHP to work on my Laptop"
- Next in thread: Five Cats: "Re: chmod doesn't work?"
- Reply: Five Cats: "Re: chmod doesn't work?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|