GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
More strict ownership asserts
[mirrors/Programs.git]
/
php
/
skripty
/
cmd.php
1
<
?php
2
3
function
readline
() {
4
$fp
=
fopen
(
"php://stdin"
,
"r"
);
5
$line
=
fgets
(
$fp
,
1000
);
6
fclose
(
$fp
);
7
return
$line
;
8
}
9
10
while
(
1
){
11
print
(
"
\n
HARVIE's CMDLine:
\n
"
);
12
$cmd
= (
""
);
13
$cmd
=
trim
(
readline
());
14
if
(
$cmd
!=
""
){
15
system
(
$cmd
);
16
}
else
{
17
while
(
1
){
18
$cmd
=
trim
(
readline
());
19
}
20
}
21
}
22
23
?
>
This page took
0.716919 seconds
and
4
git commands to generate.