[PHP] Standard output (printf) question...

2001-12-21 Thread Paul H. Breslin
I'm trying to create a function that will generate output that could go to either a file or to the current browser directly. To do this I have something like: function GenerateOutput($out) { fwrite($out, Some stuff); fflush($out); } and to call it I tried: $stdout =

RE: [PHP] Standard output (printf) question...

2001-12-21 Thread Richard Black
... http://www.php.net/manual/en/ref.outcontrol.php HTH, Richy -Original Message- From: Paul H. Breslin [SMTP:[EMAIL PROTECTED]] Sent: 21 December 2001 07:40 To: [EMAIL PROTECTED] Subject:[PHP] Standard output (printf) question... I'm trying to create a function

Re: [PHP] Standard output (printf) question...

2001-12-21 Thread Paul H. Breslin
/ref.outcontrol.php HTH, Richy -Original Message- From: Paul H. Breslin [SMTP:[EMAIL PROTECTED]] Sent: 21 December 2001 07:40 To: [EMAIL PROTECTED] Subject:[PHP] Standard output (printf) question... I'm trying to create a function that will generate output