hi all I want a way to hide the download Rapidshare link Example http://rapidshare.com/files/ex.171877365/Example.rar this link have characteristic traffic share i want hide this link to www.mysite.com/down.php?name=Example.rar And is downloaded directly from Rapidshare Thank you.
header("Content-Type: application/octet-stream"); header("Content-Disposition: attachment; filename=\"Example.rar\""); PHP:
Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home/***/***/www/down.php:1) in /mounted-storage/home/***/***/www/down.php on line 3 Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home/***/***/www/down.php:1) in /mounted-storage/home/***/***/www/down.php on line 4 PHP: this code accept external links ?
Yes it does, you must put it in the beginning of the file. And mime content type should be: application/x-rar-compressed PHP:
Probably you have different type of files. Something like this should get their mime types automatically: <?php $filetype = mime_content_type("$filename"); header("Content-Type: $filetype"); header("Content-Disposition: attachment; filename=\"$filename\""); ?> <html> <head... blabla ;) PHP:
Header() must be called before any actual output is sent - HTML tags, blank lines, empty spaces etc. Thats what the error is about. Are you using some kind of CMS?
i used this code in new php file and i add link rapidshare traffic share or hot link , Both not working and Show the same error
You can't do it the way you want. First you have to actually open the URL and read the download link and forward the user to it. You can use CURL and Cookies if you have a paid account, this should work better. Peace,
You would run out of bandwidth on your RS account before you knew it on a high load server. You cant just point to it for a free user and expect it to work, it just wont...
Are there any solutions for how to hide the Rapidshare links to them can not download again I want to download from rapidshare traffic share a certain number for users in my site Are there any solutions, even if in return for $ $ $ thanx