ring
> functions? They seem to implement what you're trying to do...
>
> 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:
re trying to do...
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
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 = fo
Martin,
you can either use the file 'php://stdout', which will open stadard
output independant of platform, or access /dev/stdout, which is a
symlink to the stdout stream of your process.
Also, any output that is printed from PHP will be printed to stdout.
Cheers,
Ben
Martin Thoma wrote:
>
>
Hello !
Which is the name for the standard-output on Linux ?
The background: I want to use PGP (2.6.3.) to put the encrypted file out
on standard-output.
Regards
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
5 matches
Mail list logo