PHP 4.0 Bug #7242 Updated: Function tmpfile() NOT Working on MS. Windows NT
| From: | sniper@php.net | Date: | Mon, 18 Dec 2000 16:38:49 +0000 |
| Subject: | PHP 4.0 Bug #7242 Updated: Function tmpfile() NOT Working on MS. Windows NT | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-41787@lists.php.net to get a copy of this message | ||
ID: 7242
Updated by: sniper
Reported By: jsh@terma.com
Status: Open
Old-Bug Type: *General Issues
Bug Type: Filesystem function related
Assigned To:
Comments:
Previous Comments:
---------------------------------------------------------------------------
[2000-10-16 10:27:16] jsh@terma.com
I have problems to use function tmpfile() on MS. Windows NT.
Use: Personal Web Server (PWS Version 4.0) from Windows NT Option Pack.
Error Message: "Warning: tmpfile: Permission denied "
Even when c:tmp and c:temp is set for Write permission for everyone.
On MS. Windows 95 It works well.
I used a small script to found out where the temporary files is created on Windows 95:
<?PHP
$TEMP = tmpfile();
sleep(100);
?>
When this script is running on Windows 95; it create a file t3vvgxxx (the last three character is
random) on the C: drive.
As test, I tried to set the C: for write permission for everyone on the Windows NT server. Still the
same Error message: "Warning: tmpfile: Permission denied "
Regards,
John
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7242