php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11365 Dup of #11243
Submitted: 2001-06-08 14:59 UTC Modified: 2001-06-11 10:08 UTC
From: flop dot m at usa dot net Assigned:
Status: Not a bug Package: Program Execution
PHP Version: 4.0 Latest CVS (2001-06-08) OS: Windows 2000
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: flop dot m at usa dot net
New email:
PHP Version: OS:

 

 [2001-06-08 14:59 UTC] flop dot m at usa dot net
I can reproduce the same bugs using Win2K SP2, Apache 1.3.20 and the PHP snapshot of 2001/06/07. Apache is configured to use PHP module. From the snapshot, I replaced php.exe & php4ts.dll.

`dir` just crashes Apache as many times as you want;

exec("start notepad") & system("start notepad") print "Unable to fork";

exec("notepad") hangs Apache and a Notepad process can't be deleted from the task manager.

By the way, when those bugs are solved, will it be possible to launch a program like Word, Excel or Wordpad?

--Marecandja

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-09 00:06 UTC] sniper@php.net
Could you please try a newer snapshot from zend.com?
This should be fixed now.

--Jani

 [2001-06-09 11:21 UTC] flop dot m at usa dot net
From the page http://www.zend.com/zend/download-php.php
the link "Download Latest PHP 4.0 development snapshot." does NOT work.

And on page http://www.zend.com/snapshots/, latest snap is of 7th june!

Where can I DL the latest one?

--Marecandja
 [2001-06-09 16:13 UTC] sniper@php.net
From Daniel Beulshausen:
------------------------
a command like "start" doesn't exists...
you can do exec exec("notepad"); 
tough i don't think this is very wise to do...


 [2001-06-11 10:08 UTC] flop dot m at usa dot net
I've executed this script:

<?php
	exec("calc.exe");
?>

A new calc.exe process is started, but no window appears and IE keeps "opening" the script! I click on stop icon. The script is stopped, but the calc process is still there. I can't kill it, although I'm logged with Admin. privs.

Why is it impossible to run GUI apps ?
 [2001-06-11 10:08 UTC] flop dot m at usa dot net
I've executed this script:

<?php
	exec("calc.exe");
?>

A new calc.exe process is started, but no window appears and IE keeps "opening" the script! I click on stop icon. The script is stopped, but the calc process is still there. I can't kill it, although I'm logged with Admin. privs.

Why is it impossible to run GUI apps ?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 08:01:28 2024 UTC