GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
added tips to lamer.bash help
[mirrors/Programs.git]
/
php
/
skripty
/
terminal_client.php
1
<
?php
2
3
$sfp
=
fsockopen
(
"127.0.0.1"
,
24
, &
$errno
, &
$errstr
,
5
);
4
$ifp
=
fopen
(
"php://stdin"
,
"r"
);
5
6
/*
7
while(1) {
8
echo(ord(fgetc($ifp)));
9
}
10
*/
11
12
while
(
$sfp
) {
13
if
(!
feof
(
$sfp
)) {
14
echo
(
fgetc
(
$sfp
));
15
}
16
17
if
(!
feof
(
$ifp
)) {
18
fwrite
(
$sfp
,
fgetc
(
$ifp
));
19
}
20
}
21
22
?
>
This page took
1.200585 seconds
and
4
git commands to generate.