Bug #52871 [Opn]: PHP POINTER / TMP LOCATOR
| From: | kalle@php.net | Date: | Sat, 18 Sep 2010 15:27:09 +0000 |
| Subject: | Bug #52871 [Opn]: PHP POINTER / TMP LOCATOR | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-154474@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52871&edit=1
ID: 52871
Updated by: kalle@php.net
Reported by: stelica dot samoveanu at gmail dot com
Summary: PHP POINTER / TMP LOCATOR
Status: Open
Type: Bug
Package: Unknown/Other Function
Operating System: Windows Vista / Gnome Linux
PHP Version: 5.2.14
Block user comment: N
New Comment:
I'm sorry, but I honestly have no idea what you are trying to report as
a bug here, or the issue at all?
Previous Comments:
------------------------------------------------------------------------
[2010-09-17 16:38:20] stelica dot samoveanu at gmail dot com
Description:
------------
With regard of using Http Apache and PHP Zend congruent,
in other words simultaneus, there is an ISSUE "PHP Pointer / TMP",
regardless of Gnome Linux OS and Windows Vista OS.
It seems that PHP keep truck through an internal pointer to a specific
TMP locator / location for uploaded files yet shows a misleading
error:
... Php Pointer / TMP Locator
C:\xampp\tmp\php6D57.tmp <= failed to open stream
SWEETYPIE.jpg
image/pjpeg
3200
When using the debugging technology within breakpoint context
it shows the Pointer TMP locator / location ok, yet "spitts" the above
misleading error !!
Any indepth technical White Paper explaination on "PHP Pointer / TMP"
of the internal structure that can enlighten in other words highlight
the
technology behind this ISSUE, or a PHP fix with this respect, perhaps
??
NOTE: NOT AN ACCESS CONTROL LIST ( A.C.L ) ISSUE !!
Test script:
---------------
<?php
if($_FILES['file']['name'] != "")
{
$locator = "C:\\PICT\\";
$breakpoint = $_FILES['file']['name'];
$tmp = $_FILES['file']['tmp_name'];
copy( $tmp, $locator . $breakpoint);
}
?>
<html><head><title>Php Pointer TMP Locator</title></head>
<body>
<?php echo( $tmp ); ?> <br>
<?php echo( $breakpoint ); ?> <br>
<?php echo( $_FILES['file'][ 'type'] ); ?> <br>
<?php echo( $_FILES['file'][ 'size'] ); ?> <br>
</body>
</html>
Expected result:
----------------
error:
... Php Pointer TMP Locator <= open stream ok
C:\xampp\tmp\php6D57.tmp
SWEETYPIE.jpg
image/pjpeg
3200
Actual result:
--------------
error:
... Php Pointer TMP Locator <= failed to open stream
C:\xampp\tmp\php6D57.tmp
SWEETYPIE.jpg
image/pjpeg
3200
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52871&edit=1