php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3867 Exec() no longer returns the command output line
Submitted: 2000-03-18 20:24 UTC Modified: 2000-03-20 02:03 UTC
From: mlemos at acm dot org Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.15 OS: Linux RH 6.0
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: mlemos at acm dot org
New email:
PHP Version: OS:

 

 [2000-03-18 20:24 UTC] mlemos at acm dot org
The Exec() command no longer returns the command output line
like it used to until the version 3.0.14. Try this:

<?

echo Exec("pwd"),"\n";

?>

This bug also shows in PHP 4.0b4pl1 .

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-20 02:03 UTC] rasmus at cvs dot php dot net
Fixed in 3.0.16-dev, and I can't reproduce it in current PHP 4 cvs.  The
code looks fine there.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 02:00:01 2026 UTC