Frnd if u are a php grabber expert than can u replace the comments related to files of site , means if the file title of a site contais site name , than what to use to replace it. if this u did than u r php expert
Php grabber expert come (file comment replacing)
Collapse
X
-
use something like:
PHP Code: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;
}
Last edited by something else; 21.01.11, 19:43.
-
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.Last edited by Mysterio; 21.01.11, 21:46.mysterio.al - programming is a functional art
Comment
-
i think what he is trying to do is grab some files eg: http://somesite.con/files/something(somesite.con).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
Comment
-
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
Comment
-
Originally posted by something else View Posti think what he is trying to do is grab some files eg: http://somesite.con/files/something(somesite.con).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
Originally posted by something else View Posti think what he is trying to do is grab some files eg: http://somesite.con/files/something(somesite.con).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 downloadmysterio.al - programming is a functional art
Comment
Comment