php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20729 PHP will not load files with a " " in their path
Submitted: 2002-11-29 23:17 UTC Modified: 2002-12-01 16:43 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: laptop006 at chriskaine dot com dot au Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.3.0RC2 OS: Windows 98
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: laptop006 at chriskaine dot com dot au
New email:
PHP Version: OS:

 

 [2002-11-29 23:17 UTC] laptop006 at chriskaine dot com dot au
If you assign .php scripts to open with php.exe (for example to run GTK-PHP scripts by double clicking) any scripts with a " " in their path will fail as the arguments will be seperated by php.exe, it works as expected for the version of PHP provided by the PHP-GTK packages (claims to be 4.3.0)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-30 05:09 UTC] derick@php.net
Most likely not a bug, instead of using this: php.exe %s as mapping, use php.exe "%s".

Not really a bug -> bogus
 [2002-11-30 07:40 UTC] laptop006 at chriskaine dot com dot au
Tested and it still fails new mapping for 'execute' '"c:\program files\php4\php.exe" "%s"'
 [2002-11-30 07:46 UTC] derick@php.net
reopening then.
What exact error do you get?
 [2002-11-30 07:56 UTC] laptop006 at chriskaine dot com dot au
With just the default mapping generated by windows I get "Could not open input file: C:\Program" and with the "%s" on the end I get "Could not open input file:1"
 [2002-11-30 11:54 UTC] wez@php.net
Reproduced under win98 (VMWare).
It works just fine under XP.
Curiously, sometimes php would actually hang.
Running from the command line always worked just fine.

It needs someone with a dev environment under 98 to investigate; send me the call stack that causes the error
and I will help fix it.


 [2002-12-01 16:43 UTC] sterling@php.net
Win98 problem, not a PHP problem.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Dec 04 22:00:01 2025 UTC