From:             
Operating system: Windows Vista / Gnome Linux
PHP version:      5.2.14
Package:          Unknown/Other Function
Bug Type:         Bug
Bug description:PHP POINTER / TMP LOCATOR

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 bug report at http://bugs.php.net/bug.php?id=52871&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=52871&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=52871&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=52871&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=52871&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=52871&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=52871&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=52871&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=52871&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=52871&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=52871&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=52871&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=52871&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=52871&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=52871&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=52871&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=52871&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=52871&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=52871&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=52871&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=52871&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=52871&r=mysqlcfg

Reply via email to