123456789101112131415 |
- <?php
- include '../auth.php';
- ?>
- <?php
- $username = $_GET['username'];
- $password = $_GET['password'];
- $url = $_GET['url'];
- $context = stream_context_create(array(
- 'http' => array(
- 'header' => "Authorization: Basic " . base64_encode("$username:$password")
- )
- ));
- $data = file_get_contents($url, false, $context);
- echo strip_tags($data);
- ?>
|