Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jinkazama10

    Newbie question: How does one redirect stdout to a file?

    Nevermind, got it. Thanks.
  2. jinkazama10

    Newbie question: How does one redirect stdout to a file?

    Is there some way I can use php://stdout? Would that work?
  3. jinkazama10

    Newbie question: How does one redirect stdout to a file?

    What if the output is a png file? I'm using JPGraph to make pie charts. The following code doesn't work: $handle = fopen("output.png", "w"); fwrite($handle, $graph->Stroke()); //(stroke draws the graph) fclose($handle); But if I use ">" it works.
  4. jinkazama10

    Newbie question: How does one redirect stdout to a file?

    I am just starting to learn PHP and I can't seem to find this anywhere. Basically I am running a script from the command line and I would like to capture the output and put it in a file but I would like to do so inside the script. So instead of typing "myscript.php > myoutput.out" I could just...

Part and Inventory Search

Back
Top