Skip to content

Instantly share code, notes, and snippets.

@symac symac/proxy.php
Created Jan 24, 2016

What would you like to do?
if (isset($_GET["mimetype"]))
$type = $_GET["mimetype"];
$type = "";
print "Manque le mimetype";
$content = file_get_contents("*+where+{^1947%22%29+}&format=text%2Fxml&timeout=0&debug=on");
if ($type == "xml")
header('Content-Type: text/xml');
elseif ($type == "sparql") {
header('Content-Type: application/sparql-results+xml');
print $content;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.