Php grabber expert come (file comment replacing)
Started on the old forum in January 2011 · view the original in the archive · old links redirect here
use something like:
if(isset($_GET['video'])){
$sitename = 'your sitename';
$url = 'http://site.con/'.$_GET['video']; //there site
$name = $_GET['video'].'-('.$sitename.')'.'.mp4';
$headers = get_headers($url,1);
$fsize = $headers['Content-Length'];
header('Content-Type: video/mp4');
header('Content-Disposition: attachment; filename='.$name);
header('Content-Length: '.$fsize);
ob_clean();
flush();
readfile($url);
exit;
}
Remember then when grabbing content from other site, all content will be delivered to you as a string. And by being a string, you can replace everything. Then its up to the way how you manage that.
Added after 2 minutes:
Remember then when grabbing content from other site, all content will be delivered to you as a string. And by being a string, you can replace everything. Then its up to the way how you manage that.
mysterio.al - programming is a functional art
i think what he is trying to do is grab some files eg: http://somesite.con/files/something(somesite.con%29.mp4 and so he doesnt want his users to see the (somesite.con) in the downloads. so i think only way to do it is to use a similar technique as post above only downfall is its bandwidth killer taking double the amount of bandwidth per download
Use mp3 tag editor script.. I think its in forum..
This is my new community for wap coding. Come and join and experience real wap coding http://leonine.6te.net
something else wrote: i think what he is trying to do is grab some files eg: http://somesite.con/files/something(somesite.con%29.mp4 and so he doesnt want his users to see the (somesite.con) in the downloads. so i think only way to do it is to use a similar technique as post above only downfall is its bandwidth killer taking double the amount of bandwidth per download
Then your code is his solution.
something else wrote: i think what he is trying to do is grab some files eg: http://somesite.con/files/something(somesite.con%29.mp4 and so he doesnt want his users to see the (somesite.con) in the downloads. so i think only way to do it is to use a similar technique as post above only downfall is its bandwidth killer taking double the amount of bandwidth per download
Then your code is his solution.
mysterio.al - programming is a functional art