|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2021-11-26 23:34 UTC] arian_a at hotmail dot se
Description: ------------ This problem is difficult to explain with text only. So therefore I have combined text and images to be able to explain it better. The explanations can be found in the links below. (The links show you how to reproduce the bugg.) The links should be read in the same order as they appear. 1. https://i.ibb.co/dj10yqP/1eng.png 2. https://i.ibb.co/1zwLwQ6/2eng.png 3. https://i.ibb.co/pxY5GN9/3eng.png 4. https://i.ibb.co/ggpZXKk/4-eng.png Here is all the files used in the project. Nothing is excluded https://github.com/somedudeokey/monitor/archive/refs/heads/main.zip Pathmonitor.exe was created with pathmonitor.cpp. If you do not trust the .exe file, you can create the same .exe by using the .cpp file (pathmonitor.cpp) Take care PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 18 15:00:01 2025 UTC |
I don't see a bug in PHP here. The problem is your code, since you first modify the file(s), and then execute pathmonitor.exe which waits possibly indefinitely for modifications. Additionally, you should not pass the name of a file to pathmonitor.exe, but rather its directory: shell_exec("pathmonitor.exe " . dirname($_GET['path']));