I have the simple PHP script:
<?php
$url = $_REQUEST['url'];
if (preg_match('/\b(https?|ftp):\/\/*/', $url) !== 1) die;
echo (file_get_contents($url));
?>
I am trying to echo the page:
http://forum.bodybuilding.com/showthread.php?t=162984431&page=10
but the echo shows:
http://forum.bodybuilding.com/showthread.php?t=162984431
example:
I am not a PHP expert but I think this has something to do with persistent URLs? How would I go about fixng this so the echo displays everything after the & symbol as well? I do have cURL installed on my server if that helps. Thanks!