#45755 [Fbk->Opn]: can't use pipes to deliver script via PATH_TRANSLATED
ID: 45755
User updated by: louis at steelbytes dot com
Reported By: louis at steelbytes dot com
-Status: Feedback
+Status: Open
Bug Type: CGI related
Operating System: Vista SP1 x64
PHP Version: 5.2.6
New Comment:
is this request for script by a robot? it feels like it. or maybe the
bug was skimmed but not read by a human?
Previous Comments:
------------------------------------------------------------------------
[2008-08-08 06:42:32] lstrojny@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2008-08-08 06:30:53] louis at steelbytes dot com
Description:
------------
I'm trying to call php-cgi.exe from inside my app, and I wanted to
supply the script via a pipe. so I set the pipe name \\.\pipe\testpipe
in PATH_TRANSLATED, but php-cgi.exe won't read from there. it failes in
virtual_file_ex() being confused thinking it's a unc path, and skipping
the . component, and trying to use FindFirstFile to test if valid.
Reproduce code:
---------------
see above
Expected result:
----------------
see above
Actual result:
--------------
see above
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45755&edit=1
Thread (9 messages)