Código:
la pregunta es porque me funciona con todos los servidores menos con rapidshare y otros k poseen el simbolo # en la direccion, necesito k me funciona bien en rapidshare <?php $url="https://rapidshare.com#!download|83p9|2299973297|L_sw_1_by_felix.rar|458018|0|0"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_CRLF,1); ob_start(); $cache = curl_exec($ch); curl_close($ch); $textodescarga = htmlspecialchars($cache); echo "$texto"; ?>