web/tweetcast-proxy.php
author Yves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Tue, 26 Nov 2013 01:18:39 +0100
changeset 1001 df016fc8bbdb
parent 432 2c18b115ab00
permissions -rw-r--r--
correct authentication and put the login/password in the config template.
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
?>