RE: [PHP] a rights question.....
| From: | Jason Cox | Date: | Tue, 14 Nov 2000 22:07:52 +0000 |
| Subject: | RE: [PHP] a rights question..... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25260@lists.php.net to get a copy of this message | ||
What OS are you running? If you're running Unix (and possibly Windows, I
don't know), your httpd.conf file will tell you which user your webserver is
running as. You can also run "top" and look which user it lists for httpd.
By default I believe it is user 'nobody'. On windows permissions don't
really mean anything. It'll pretty much do whatever it feels like. :)
Jason
-----Original Message-----
From: Javier Morquecho Morquecho [mailto:jmorquec@cedetel.com.mx]
Sent: Tuesday, November 14, 2000 2:58 PM
To: 'Php-General'
Subject: [PHP] a rights question.....
Hi friends !
I'm developing an application with PHP, this application read information
of a file x ejem
/home/test/test.txt
After read it, I delete it.
Another application inside my company put this file on that directory, my
question is, what about rights??, what about file and directory rights??.
I mean, somebody with user/password put a file in this directory, but how
my application can delete this file??, what user my application (PHP) is
using??...
Sorry if this is a easy questio, but I'm confiuse..
Thanks....
Ing. J@vier Morquecho Morquecho
Cedetel
Desarrollo de proyectos comerciales
Tel : 177-10-87
Cel : 177-00-87
e-mail : jmorquec@cedetel.com.mx
e-movil : 5281770087@emovil.cedetel.com.mx
Home Cedetel : http://www.cedetel.com.mx
"#define QUESTION ((bb) || !(bb)) // Shakespeare"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
_______________________________________________________
Site Design, Hosting, and E-Commerce at www.webpipe.net