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.
Why not use umask?
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_id, 0755);
chown('images/'.$customer_id,
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.
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 I get the following error. I
set the permissions on the
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 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
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 I
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 there
no
Hi, I have a question concerning file permissions on the server.
When i try to use fopen($file,w) i am said i am not permitted to do so
unless i set the file permissions manualy (FTP) to 666 (cannot use chmod()
as well).
Well i am asking how big risk it is to leave files with 666 (or dirs with
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 the
I have a Windows XP pro with IIS 5.1 and Php 4.3.3 which I use for local
development, and I'm trying to use a bunch of the file commands for making a
very simple file manager application.
However, I can't seem to get most of them to work, i.e. mkdir(). I get a
permission denied message. I have
--- 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 read,
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, then
you want to
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/reg/regformte
st.php on line 411
I have tried setting this
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
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 PHP related
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 whenever I need to use
a
simple text-file based counter:
?
$file = .count.txt;
$fp
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 file (counter.txt) it has all the permissions
(777). I don't know how to do, could somebody help me?
I execute this file on server:
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
($file, w+);
fputs($fp, $counter);
fclose($fp);
include($file);
?
Tyler Longren
Captain Jack Communications
www.captainjack.com
[EMAIL PROTECTED]
- Original Message -
From: Antonio [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 23, 2002 8:48 PM
Subject: [PHP] file permissions
Hi All,
I am having problems with file permissions. I am trying to use fopen() to
write to a text file and get the error - 'permission denied'. I then used
chmod(file.txt, 0755); and got the message that I was not the file owner,
can someone help me out?
PHP 3.0.9
Solaris 2.7/Apache 1.3.3
TIA
22 matches
Mail list logo