repo.or.cz
/
eidogo-ojd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
OJD Commit: Fix node id reset
[eidogo-ojd.git]
/
php
/
fetch.php
blob
9b227cefbb9b136652034d929acfe036f7036fa2
1
<
?php
2
3
$url
=
$_GET
[
'url'
];
4
$content
=
file_get_contents
(
$url
);
5
if
(
strlen
(
$content
) >
30000
) {
6
// ~30 KB limit
7
exit
;
8
}
9
echo
$content
;
10
11
?
>