Home > Archive > PHP Programming > August 2006 > php 4.3 and file permissions
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
php 4.3 and file permissions
|
|
| laredotornado@zipmail.com 2006-08-31, 6:57 pm |
| Hi,
I know that the PHP "chmod" command sets file permissions, but how do I
retrieve what the permissions are for a particular file using PHP 4.3?
Thanks, - Dave
| |
| Benjamin Esham 2006-08-31, 6:57 pm |
| "laredotornado wrote:
> I know that the PHP "chmod" command sets file permissions, but how do I
> retrieve what the permissions are for a particular file using PHP 4.3?
http://us3.php.net/manual/en/function.stat.php
HTH,
--
Benjamin D. Esham
bdesham@gmail.com | AIM: bdesham128 | Jabber: same as e-mail
"People find it far easier to forgive others for being wrong than
being right." — Albus Dumbledore in HBP
|
|
|
|
|