Re: [PHP]: permission problem www-data

2011-01-18 Thread Al
On 1/18/2011 4:44 AM, Moses wrote: Hi Everyone, I am creating a file in PHP script which takes a value from a form and writes it to a file. However, i don't have the mode permission for the file instead it is owned by www-data.What can i do to ensure that the file is owned by me. drwxr-xr-x

Re: [PHP] [PHP]: permission problem www-data

2011-01-18 Thread Daniel Brown
On Tue, Jan 18, 2011 at 10:55, Jim Lucas wrote: > > You could run PHP in FastCGI mode and start it as your user.  Then have your > web > server use that PHP instance for your web site to process all PHP requests. > > This is how we have our servers at the office setup.  Works great. My guess

Re: [PHP] [PHP]: permission problem www-data

2011-01-18 Thread Jim Lucas
.ashleysheridan.co.uk > > - Reply message - > From: "Moses" > Date: Tue, Jan 18, 2011 10:17 > Subject: [PHP] [PHP]: permission problem www-data > To: "a...@ashleysheridan.co.uk" > Cc: > > You could run PHP in FastCGI mode and start it as your user.

Re: [PHP] [PHP]: permission problem www-data

2011-01-18 Thread Jim Lucas
On 1/18/2011 1:44 AM, Moses wrote: > Hi Everyone, > > I am creating a file in PHP script which takes a value from a form and > writes it > to a file. However, i don't have the mode permission for the file instead it > is owned > by www-data.What can i do to ensure that the file is owned by me. >

Re: [PHP] [PHP]: permission problem www-data

2011-01-18 Thread Donovan Brooke
Moses wrote: Hi Everyone, I am creating a file in PHP script which takes a value from a form and writes it to a file. However, i don't have the mode permission for the file instead it is owned by www-data.What can i do to ensure that the file is owned by me. drwxr-xr-x 2 www-data www-data 4096

Re: [PHP] [PHP]: permission problem www-data

2011-01-18 Thread a...@ashleysheridan.co.uk
17 Subject: [PHP] [PHP]: permission problem www-data To: "a...@ashleysheridan.co.uk" Cc:

Re: [PHP] [PHP]: permission problem www-data

2011-01-18 Thread Moses
; a...@ashleysheridan.co.uk> wrote: > you could use the chown method in php, which should do what you need. > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > - Reply message - > From: "Moses" > Date: Tue, Jan 18, 2011 09:44 > Subject: [PHP] [PHP]: permis

Re: [PHP] [PHP]: permission problem www-data

2011-01-18 Thread a...@ashleysheridan.co.uk
you could use the chown method in php, which should do what you need. Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: "Moses" Date: Tue, Jan 18, 2011 09:44 Subject: [PHP] [PHP]: permission problem www-data To: Hi Everyone, I am creating a file in PHP sc

[PHP] [PHP]: permission problem www-data

2011-01-18 Thread Moses
Hi Everyone, I am creating a file in PHP script which takes a value from a form and writes it to a file. However, i don't have the mode permission for the file instead it is owned by www-data.What can i do to ensure that the file is owned by me. drwxr-xr-x 2 www-data www-data 4096 2011-01-17 22:

Re: [PHP] Permission problem

2006-04-25 Thread Richard Lynch
On Tue, April 25, 2006 11:16 am, tedd wrote: > A while back I was persuaded by this illustrious group into thinking > that placing images in a file system was superior to placing them in > mySQL -- after all, what could go wrong with a file system solution, > right? > > So I did. > > Now, I have a

RE: [PHP] Permission problem

2006-04-25 Thread tedd
[snip] In any event, I can't back-up, download, copy, change permissions, or do anything with the chmod 600 group. Any suggestions as to what I can do with these files? [/snip] At 11:30 AM -0500 4/25/06, Jay Blanchard wrote: After uploading have PHP CHMOD them properly and At 12:41 PM -04

RE: [PHP] Permission problem

2006-04-25 Thread Robert Cummings
On Tue, 2006-04-25 at 12:30, Jay Blanchard wrote: > [snip] > A while back I was persuaded by this illustrious group into thinking > that placing images in a file system was superior to placing them in > mySQL -- after all, what could go wrong with a file system solution, > right? > > So I did.

RE: [PHP] Permission problem

2006-04-25 Thread Jay Blanchard
[snip] A while back I was persuaded by this illustrious group into thinking that placing images in a file system was superior to placing them in mySQL -- after all, what could go wrong with a file system solution, right? So I did. Now, I have a small problem. Unfortunately, most of the images

[PHP] Permission problem

2006-04-25 Thread tedd
Hi gang: A while back I was persuaded by this illustrious group into thinking that placing images in a file system was superior to placing them in mySQL -- after all, what could go wrong with a file system solution, right? So I did. Now, I have a small problem. Unfortunately, most of the im

RE: [PHP] Permission Problem

2003-07-05 Thread Giz
You need to seek help from a phpnuke support forum. -Original Message- From: Mr|P [mailto:[EMAIL PROTECTED] Sent: Saturday, July 05, 2003 7:53 AM To: [EMAIL PROTECTED] Subject: [PHP] Permission Problem I moved from myphpnuke to phpnuke. When trying to register a new user account on the

Re: [PHP] Permission Problem

2003-07-05 Thread Marek Kilimajer
Go to admin -> Modules, and set Your_Account to be visible to all visitors. Mr|P wrote: I moved from myphpnuke to phpnuke. When trying to register a new user account on the website it get the error: You are trying to access a restricted area. We are Sorry, but this section of our site is for Reg

[PHP] Permission Problem

2003-07-05 Thread Mr|P
I moved from myphpnuke to phpnuke. When trying to register a new user account on the website it get the error: You are trying to access a restricted area. We are Sorry, but this section of our site is for Registered Users Only. Thanks for your help. -- PHP General Mailing List (http://www.php

Re: [PHP] permission problem - i guess

2003-03-16 Thread gamin
> Weird, check if both versions use the same php.ini, it is mentioned in > phpinfo output. > Yes, they both point to /etc/php.ini Do you want me to paste the contents of the 2 files here ? they are a little long so i'm asking gamin -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] permission problem - i guess

2003-03-16 Thread Marek Kilimajer
Weird, check if both versions use the same php.ini, it is mentioned in phpinfo output. gamin wrote: Hi Marek, Try executing phpinfo from u.php, run it once from the command line and once from the browser and check if they are nay different. I added the function phpinfo() to u.php and ra

Re: [PHP] permission problem - i guess

2003-03-16 Thread gamin
Hi Marek, > Try executing phpinfo from u.php, run it once from the command line and > once from the browser and check if they are nay different. > I added the function phpinfo() to u.php and ran u.php from the commandline and then backticked `` it in test.php and called test.php from the browser.

Re: [PHP] permission problem - i guess

2003-03-16 Thread Marek Kilimajer
Try executing phpinfo from u.php, run it once from the command line and once from the browser and check if they are nay different. gamin wrote: Hi, I have PHP 4.3.0 installed on a Red Hat system. I have written a number of command line scripts which run perfectly fine. For example #! /usr/b

[PHP] permission problem - i guess

2003-03-16 Thread gamin
Hi, I have PHP 4.3.0 installed on a Red Hat system. I have written a number of command line scripts which run perfectly fine. For example #! /usr/bin/php -q This script works perfectly fine, when started from the command line. Now i intend to call this command line script from another ano