#7394 [Opn->Csd]: function chmod seems to exist in the windows versions of php
| From: | sniper@php.net | Date: | Fri, 02 Sep 2005 05:58:58 +0000 |
| Subject: | #7394 [Opn->Csd]: function chmod seems to exist in the windows versions of php | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-84370@lists.php.net to get a copy of this message | ||
ID: 7394
Updated by: sniper@php.net
Reported By: hans at linux dot gelrevision dot nl
-Status: Open
+Status: Closed
Bug Type: *Web Server problem
Operating System: Windows (any?)
-PHP Version: Earlier? Upgrade first!
+PHP Version: 3
Previous Comments:
------------------------------------------------------------------------
[2000-10-22 18:39:11] hans at linux dot gelrevision dot nl
Hi all,
Since I started to write a script that uses image caching I wanted to
make it safe. On *nix we can use chmod to give it 644 rights. On
windows that function seems to exist too (php3 and 4 I've been told
both return 1 with the function_exists()). Therefor I have to check
the env. vars. Now both $OS and $OSTYPE seems to exist.
I would like to suggest to get the *nix specific functions out of the
windows version.
Regards,
Hans Wolters
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=7394&edit=1