File: proxy.php

package info (click to toggle)
jquery-goodies 10-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,996 kB
  • ctags: 490
  • sloc: xml: 308; makefile: 88; php: 48; sql: 39
file content (12 lines) | stat: -rw-r--r-- 226 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
header('Content-type: application/xml');
$handle = fopen($_REQUEST['url'], "r");

if ($handle) {
    while (!feof($handle)) {
        $buffer = fgets($handle, 4096);
        echo $buffer;
    }
    fclose($handle);
}
?>