web/tweetcast-proxy.php
author Thibaut Cavalié <thibaut.cavalie@iri.centrepompidou.fr>
Tue, 07 Oct 2014 11:02:27 +0200
changeset 1152 8a5ed4265209
parent 432 2c18b115ab00
permissions -rw-r--r--
Added tag V03.001 for changeset f5f62136f987
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
?>