<?php header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header("Cache-Control: private",false); header("Content-Disposition: attachment; filename=ursite.com_$name"); header("Content-Transfer-Encoding: binary"); readfile(str_replace(' ', '%20', $url)); ?> see the example site: http://tinyurl.com/yb4354m Hi im new to php but i need some help i saw a website making .php?url=link they are using some other site link and download link renamed like there link can any one tell me how to figure it out !