Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199903

Re: [PHP3] creating files with php3 From: Brian Moon (brianlmoon <email protected>)
Date: 03/31/99

create a temp dir under your html dir. chmod it 666. read write all. Do
all your reading and writing there. And yes, other users in theory have
access to those files. however they must know where they are. they can not
navigate to them. This is one of the hazards of being on a shared server.

Brian Moon
http://brian.threadnet.com

----- Original Message -----
From: DATA fix <datafix <email protected>>
To: <php3 <email protected>>
Sent: Wednesday, March 31, 1999 11:52 AM
Subject: [PHP3] creating files with php3

> Hi.
>
> I have possible missed something obvious here, but when my
> script tries to create new files on my ISP's server I get
> errors indicating that the script is not allowed to create
> them.
>
> I can get around this temporarily by changing the the access
> rights of the html -directory (the directory where my
> homepage/scripts are) from rwx--x--x to rwxrwxrwx, but that
> is not something I wish not to have permanently.
>
> Seems the scripts are run as 'nobody' or 'wwwadmin' and I
> own the html -directory. I guess that is the problem. Is
> there a safe way around this?
>
> I have also been wondering about this other thing; when I
> create files with php3, they are owned by 'nobody' or what
> ever the server is configured to. So, can other users'
> scripts have the read(/write?) access to them?
>
> -mika v
>
>
> --
> PHP 3 Mailing List http://www.php.net/
> To unsubscribe send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest list: php3-digest-subscribe <email protected>
> For help: php3-help <email protected> Archive:
http://www.php.net/mailsearch.php3
> List administrator: zeev-list-admin <email protected>
>
>
>

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>