php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #885 strange exec, popen , ... behavior
Submitted: 1998-10-30 10:24 UTC Modified: 1999-06-01 16:02 UTC
From: willi at te dot net dot ua Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.5 OS: SCO 3.2
Private report: No CVE-ID: None
 [1998-10-30 10:24 UTC] willi at te dot net dot ua
<?

	exec ("/bin/ls", $s);
	for ($i=0; $i<count($s); $i++) echo $s[$i]."<BR>";
?>

After few days running apache 1.3.2 with PHP this script stops outputting directory listing.
In apache error_log: ": is not an identifier".

When I restart apache, script work properly...

safe_mode = off

PHP compiled with Oracle 7, mysql, dbase, gd, libz

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-01 16:02 UTC] jim at cvs dot php dot net
No response, so closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 21:01:33 2024 UTC