Re: How to use PHP to view the file permision???
| From: | Jason Wong | Date: | Mon, 08 Dec 2003 18:26:49 +0000 |
| Subject: | Re: How to use PHP to view the file permision??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172161@lists.php.net to get a copy of this message | ||
On Tuesday 09 December 2003 02:19, Scott Fletcher wrote:
> Looked up on the manual about the chmod() function for PHP, nice but it
> wouldn't work if the ownership file permission is set, so that bring up a
> question. How do I view the file permission or folder permission to see if
> it have the neccessnary permission before proceeding. That way, I can
> halt the script if there is no write permission or something.
manual > Filesystem functions > is_*(), lstat()
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
QOTD:
"Sure, I turned down a drink once. Didn't understand the question."
*/