web/tweetcast-proxy.php
author Samuel Huron <samuel.huron@centrepompidou.fr>
Tue, 20 Dec 2011 01:04:43 +0100
changeset 456 53572585324d
parent 432 2c18b115ab00
permissions -rw-r--r--
ENMI correction partenaires
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
?>