php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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.

Regards,

Hans Wolters

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 14:01:29 2024 UTC