Why not use umask?
On Thu, June 7, 2007 7:30 am, Ross wrote:
> n relation to my other posts it is not that the folder permission are
> not
> working, when I put an image inside them the image automatically has a
> 600
> chmod and has the owner is 'nobody'. This means I cannot delete the
> files.
>
> mkdir('images/'.
On 6/7/07, Ross <[EMAIL PROTECTED]> wrote:
n relation to my other posts it is not that the folder permission are not
working, when I put an image inside them the image automatically has a 600
chmod and has the owner is 'nobody'. This means I cannot delete the files.
mkdir('images/'.$customer_
On Thu, February 2, 2006 11:34 am, Brian Dunning wrote:
> On Feb 2, 2006, at 9:21 AM, David Grant wrote:
>
>> This is a php.ini setting, so a FS permissions problem. The
>> sysadmin
>> needs to disable safe mode on your behalf.
>
> Assuming this hosting company prefers to keep safe mode on, is the
On Thu, February 2, 2006 11:20 am, Brian Dunning wrote:
> I have a script that scans an images folder and creates a thumbnail
> for each and writes it to a new subfolder. Runs fine on my
> development box. But I'm using a new host that I'm unfamiliar with
> (servage.net), and when I run the script
On Feb 2, 2006, at 9:21 AM, David Grant wrote:
This is a php.ini setting, so a FS permissions problem. The sysadmin
needs to disable safe mode on your behalf.
Assuming this hosting company prefers to keep safe mode on, is there
no way my scripts can create files?
--
PHP General Mailing Li
Brian,
This is a php.ini setting, so a FS permissions problem. The sysadmin
needs to disable safe mode on your behalf.
David
Brian Dunning wrote:
> I have a script that scans an images folder and creates a thumbnail for
> each and writes it to a new subfolder. Runs fine on my development box.
>
On Saturday 15 November 2003 00:47, Chris Shiflett wrote:
> I would recommend, however, taking the time to figure out exactly what
> permissions are necessary and not grant anymore than that. While many
> developers use "chmod 777" while trying to debug a problem, it is a very
> bad idea to leave
From: "Chris Shiflett" <[EMAIL PROTECTED]>
--- Marius Røstad <[EMAIL PROTECTED]> wrote:
> > I have a Windows XP pro
> [snip]
> > How do I change file permissions to make it "identical" to the
> > chmod 777 on Unix systems.
>
> With Windows, you probably right-click the file and go to properties, th
--- Marius Røstad <[EMAIL PROTECTED]> wrote:
> I have a Windows XP pro
[snip]
> How do I change file permissions to make it "identical" to the
> chmod 777 on Unix systems.
This is a total guess, but...
With Windows, you probably right-click the file and go to properties, then
you want to grant
try this:
echo "you " . ( is_writable("testfile2.php")? 'can ' : 'cannot' ) . " write";
the function is_writable() will tell you in advance whether the file is
writable or not.
--
Maxim Maletsky
[EMAIL PROTECTED]
"Don Mc Nair" <[EMAIL PROTECTED]> wrote... :
> Sorry if this is not really PH
On Friday 24 January 2003 18:00, Don Mc Nair wrote:
> Sorry if this is not really PHP related but I can't get it to work.
>
> I am using fopen and I get the following:
>
> Warning: fopen("testfile2.php", "w") - Permission denied in
> /usr/local/psa/home/vhosts/complementarymedicines.net/httpdocs/re
2002 8:44 PM
> To: Antonio; [EMAIL PROTECTED]
> Subject: Re: [PHP] file permissions on counter?
>
> Hi Antonio,
>
> try this for your fopen():
> $file=fopen("counter.txt","r+")
>
> Incase you're interested, here's the code I use w
Hi Antonio,
try this for your fopen():
$file=fopen("counter.txt","r+")
Incase you're interested, here's the code I use whenever I need to use a
simple text-file based counter:
Tyler Longren
Captain Jack Communications
www.captainjack.com
[EMAIL PROTECTED]
- Original Message -
From: "A
You should check the whole path and make sure Apache has enough rights
to read through all directories.
Bogdan
Antonio wrote:
> Hi, I have to read a simple counter on my server, but the server
>responses that I haven't permissions to open the file which contains the
>data in write mode. This f
15 matches
Mail list logo