php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8496 Executing external programs
Submitted: 2000-12-30 16:06 UTC Modified: 2001-01-08 16:31 UTC
From: grj at windows2k dot dk Assigned:
Status: Closed Package: IIS related
PHP Version: 4.0.4 OS: Windows2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: grj at windows2k dot dk
New email:
PHP Version: OS:

 

 [2000-12-30 16:06 UTC] grj at windows2k dot dk
I am using windows2000 with IIS50
and I am not able to get at output with the
following commands:
system
exec

the command gets executed p? there are no output...
<?
system("ping www.hotbot.com");
?>

I have installed PHP as an CGI but has also tried it with
php4isapi.dll
same problem.

I have tried different versions og PHP4 same problem...
I have tried to change the rights of the IIS user same problem.
I have tried to execute it at the command prompt i works output and all....

The command get executed but NO output.

Kind regards Gert Jensen


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-08 16:31 UTC] cynic@php.net
from the manual:

exec() executes the given command, however it does not output anything. 

Returns the last line of the command output on success, and false on failure. 
If you need to execute a command and have all the data from the command passed directly back without any interference, use the PassThru() function. 

both of these functions work on my machine (NT5, Apache 1.3.15-dev, php4-200101080345), if they fail on IIS, reopen.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 03:01:29 2024 UTC