You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
371 B
PHTML
15 lines
371 B
PHTML
8 months ago
|
<?php
|
||
|
$etherpadURL = 'https://eth.leverburns.blue/p/2.php';
|
||
|
|
||
|
$response = file_get_contents($etherpadURL);
|
||
|
|
||
|
if ($response !== false) {
|
||
|
// Set the appropriate content type header
|
||
|
header('Content-Type: text/plain');
|
||
|
echo $response;
|
||
|
} else {
|
||
|
// Handle the error
|
||
|
header('HTTP/1.1 500 Internal Server Error');
|
||
|
echo 'Failed to fetch Etherpad content';
|
||
|
}
|