php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1030 Problem of size string variable
Submitted: 1999-01-05 13:39 UTC Modified: 1999-01-05 14:10 UTC
From: prochazka at info dot unicaen dot fr Assigned:
Status: Closed Package: Other
PHP Version: 3.0.5 OS: Linux
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: prochazka at info dot unicaen dot fr
New email:
PHP Version: OS:

 

 [1999-01-05 13:39 UTC] prochazka at info dot unicaen dot fr
for example
$alias= passthru("aliasadm -l"); 
variable alias doesn't save all the data return by passthru("aliasadm -l"); 
whereas echo passthru("aliasadm -l"); work well

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-01-05 14:10 UTC] rasmus
That's not a bug.  That's how the function works.  As documented, it is used to pass raw data directly through to the browser, not to read it into a variable.  Only the data from the last fread() operation ends up getting returned.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC