php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11224 backtick operator `` and exec() do not return results
Submitted: 2001-05-31 16:59 UTC Modified: 2001-05-31 18:13 UTC
From: WPinegar at healthtech dot net Assigned:
Status: Closed Package: Program Execution
PHP Version: 4.0.5 OS: Windows 2000
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: WPinegar at healthtech dot net
New email:
PHP Version: OS:

 

 [2001-05-31 16:59 UTC] WPinegar at healthtech dot net
I am running PHP 4.0.5 in Windows 2000 with IIS 5 and have discovered that the backtick operator and exec() command do not return results.

The following code outputs nothing, (but the command does run):

<?php
  $output = `ping localhost -n 5`;
  echo $output;
?>

Is there a workaround for this on Intel platforms?

Thanks!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-31 18:13 UTC] sniper@php.net
I tried this with latest CVS build from
http://www.zend.com/snapshots/ and it works as expected. 

So please wait for PHP 4.0.6 to be release in which this
should be fixed.

--Jani


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 10:01:29 2024 UTC