Bug #52871 [Fbk->Bgs]: PHP POINTER / TMP LOCATOR
| From: | jani@php.net | Date: | Fri, 31 Dec 2010 19:38:19 +0000 |
| Subject: | Bug #52871 [Fbk->Bgs]: PHP POINTER / TMP LOCATOR | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-157416@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: jani@php.net
Reported by: stelica dot samoveanu at gmail dot com
Summary: PHP POINTER / TMP LOCATOR
-Status: Feedback
+Status: Bogus
Type: Bug
Package: Unknown/Other Function
Operating System: Windows Vista / Gnome Linux
PHP Version: 5.2.14
Block user comment: N
Private report: N
New Comment:
Unknown issue. Please use less caps lock and more sense next time.
Previous Comments:
------------------------------------------------------------------------
[2010-09-18 17:27:09] kalle@php.net
I'm sorry, but I honestly have no idea what you are trying to report as
a bug here, or the issue at all?
------------------------------------------------------------------------
[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