Retrieving a protected page
<?php $url = 'http://tom:password@www.example.com/secrets.php'; $page = file_get_contents($url); ?>