Status
Not open for further replies.
15 comments
for wordpress, use cloaking plugin(eclipse link c;oaking), they automatically hide the link

or read my tutorial here


just install php script for link counting/hiding on external(even in free host is enough)

so you can even get the number of clicks or visits through that link...


php script:
http://www.phpjunkyard.com/php-click-counter.php

what it do.......??
it is just a script hosted in external site(not possible in blogger, i think you know that)

just paste the original link, it will give the domain used for hosting the script..

Eg:
http://originalfilehostlink.com/jclkjcdlkc

script hosted in
http://yourdomain.com

now after input of original link you get..
http://yourdomain.com/click?124

so when user clicks the above link, it will redirected to originalfilehostlink in server side

YOU ARE ABLE TO DISPALY THE NUMBER OF CLICKS/VISITS OF THE LINK NEAR THE LINK
No database needed, very simple script
 
Try this ---

Make a file named download.php

And place this in download.php

PHP:
$file = 'http://yourdomain.com/somefile.zip';

@readfile($file);
Now you can use the link http://yourdomain.com/download.php for the file to be downloaded and hide the real download link from the end user...

Its only working for zip file but if its mp4 file.. its opening page into browser ??

Thanks in advance

---------- Post added at 10:16 PM ---------- Previous post was at 10:14 PM ----------

See this example :

http://awrz.org/download

Downloading msi file without knowing actual URL..

Thanks in advnace :)
 
I am using the same method for mp3 files and it works just fine , so either you have some app installed that is forcing the files to open in the browser (like quick time , real time etc) or you are doing it wrong ...
 
He said mp4 files. And the extension tells the browser how to handle it and use it.

You would have to set the header to change the way it handles that file type.

Normal header:
'pdf' => 'application/pdf',
'txt' => 'text/plain',
'html' => 'text/html',
'exe' => 'application/octet-stream',
'zip' => 'application/zip',
'doc' => 'application/msword',
'xls' => 'application/vnd.ms-excel',
'ppt' => 'application/vnd.ms-powerpoint',
'gif' => 'image/gif',
'png' => 'image/png',
'jpeg' => 'image/jpg',
'jpg' => 'image/jpg',
'php' => 'text/plain'

try setting your header to add mp4.

Maybe like this:

'mp4' => 'application/zip',

Have not tried but it should work.
 
PHP:
<?php
$file = 'http://download.tuxfamily.org/notepadplus/6.1.3/npp.6.1.3.Installer.exe';
header("Content-Type: application/force-download");
@readfile($file);  
?>
Here is the link to where i have pasted above code.. http://filmyfundaz.com/hidelink.php

added header.. working..but

file name is HideLink.php and also not resume supported.. while this link is resume supported..

I have tried to hide.. http://download.tuxfamily.org/notepadplus/6.1.3/npp.6.1.3.Installer.exe and want to download via http://filmyfundaz.com/hidelink.php this link.. any help :)

Give me working code here :)

thanks
 
If you want resumable links you have to parse the range headers along as well

PHP:
header('Content-Disposition: attachment; filename="somefile.mp4"');
 
Status
Not open for further replies.
Back
Top