note 119205 added to function.posix-ctermid

From: Date: Tue, 19 Apr 2016 09:18:16 +0000
Subject: note 119205 added to function.posix-ctermid
Groups: php.notes 
Request: Send a blank email to php-notes+get-205274@lists.php.net to get a copy of this message
You can write directly to the tty (screen) even when the shell has redirected output, with: <?php $h = fopen(posix_ctermid(), "rb+"); fwrite($h, "Testing direct output\n"); fclose($h); ?> ---- Server IP: 72.52.91.14 Probable Submitter: 195.99.205.98 ---- Manual Page -- http://php.net/manual/en/function.posix-ctermid.php Edit -- https://master.php.net/note/edit/119205 Del: integrated -- https://master.php.net/note/delete/119205/integrated Del: useless -- https://master.php.net/note/delete/119205/useless Del: bad code -- https://master.php.net/note/delete/119205/bad+code Del: spam -- https://master.php.net/note/delete/119205/spam Del: non-english -- https://master.php.net/note/delete/119205/non-english Del: in docs -- https://master.php.net/note/delete/119205/in+docs Del: other reasons-- https://master.php.net/note/delete/119205 Reject -- https://master.php.net/note/reject/119205 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#205274) next »