Originally Posted by Redcoder
Check out $_GET contents of url, like $_GET['url'] and you'll have the url of the file, then you parse the URL to get the name of the specific file. Icrement it and use headers to 'push' the download to the users browsers.
How do I do this without sending them to another page as well as get the headers and counter added included?
$varFile = $_GET["http://url.com/files/'.$filename.'"];
My url already looks like: http://url.com/display.php?nav=display&file=4959