web/tweetcast-proxy.php
author Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Fri, 10 May 2013 14:46:57 +0200
changeset 895 aa7ad01b8260
parent 432 2c18b115ab00
permissions -rw-r--r--
clean hg ignore
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
432
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     1
<?php
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     2
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     3
$url = 'http://polemictweet.com:8080/';
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     4
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     5
$qs = $_SERVER['QUERY_STRING'];
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     6
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     7
$toget = "$url?$qs";
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     8
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
     9
echo file_get_contents($toget)
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    10
Raphael Velt <raph.velt@gmail.com>
parents:
diff changeset
    11
?>