I found somewhere that you can write directly on the display if you open the stdout:
$f=fopen("http://stdout","w") or die("problems");
fputs("$f,"hello");
and i got the message:
Warning: fopen(http://stdout) [function.fopen]: failed to create stream: HTTP wrapper does not support writeable connections. in c:\inetpub\wwwroot\hello.php on line 7
I tried the same with stdin:
$f=fopen("http://stdin","r") or die("problems");
$store=fgets("$f,"hello");
Warning: fopen() [function.fopen]: php_network_getaddresses: gethostbyname failed in c:\inetpub\wwwroot\hello.php on line 7
I worked with PHP 4.3 on IIs 5.0
Can anybody tell me how to work with these standard variables?