web/tweetcast-proxy.php
author Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Mon, 25 Nov 2013 22:28:08 +0100
changeset 1000 c294569b0725
parent 432 2c18b115ab00
permissions -rw-r--r--
make title compulsory
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
?>