|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7394 function chmod seems to exist in the windows versions of php
Submitted: 2000-10-22 18:39 UTC Modified: 2005-09-02 07:58 UTC
From: hans at linux dot gelrevision dot nl Assigned:
Status: Closed Package: *Web Server problem
PHP Version: 3 OS: Windows (any?)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: hans at linux dot gelrevision dot nl
New email:
PHP Version: OS:


 [2000-10-22 18:39 UTC] 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.


Hans Wolters


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 23 08:01:30 2024 UTC