PHP 4.0 Bug #7394: function chmod seems to exist in the windows versions of php

From: Date: Sun, 22 Oct 2000 22:39:11 +0000
Subject: PHP 4.0 Bug #7394: function chmod seems to exist in the windows versions of php
Groups: php.dev 
Request: Send a blank email to php-dev+get-35817@lists.php.net to get a copy of this message
From: hans@linux.gelrevision.nl Operating system: Windows (any?) PHP version: Earlier? Upgrade first! PHP Bug Type: *Web Server problem Bug description: function chmod seems to exist in the windows versions of php 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 Bug report at: http://bugs.php.net/?id=7394&edit=1

« previous php.dev (#35817) next »