Jump to content

I am just going to up my download server bt i want to hide my download link. Bt i cant find the proper way. Now i have find a website who useas a trick to hode their download link. bt i cant use it on my website bcz i dont know how this code work . can anyone tell me how it work? and how i can ise it to my website?

i found the code in the link below

[link removed]
 

<form action="http://www.getspacecloud.org/lets-begin" method="post" target="_blank">
    <input name="FName" type="hidden" value="The.Jungle.Book.16.Cam.M0viesc0unter.mkv" /><br />
	<input name="FSize" type="hidden" value="700 MB" /><br />
	<input name="FSID" type="hidden" value="85.93.91.35" /></p>
	<div align="center">
		<input alt="Download Movie" height="70" src="http://moviescounter.com/wp-content/uploads/2015/10/MC-download-button.png" type="image" width="225" />
	</div>
</form>

 

Edited by colonel_mortis
Cleaned up formatting, added code tag and removed links
Link to post
Share on other sites

Lol, should have read your post first. Was browsing the source code for what you have already posted.

 

In short, it is all done server side. Change your form action to one of your own PHP files. Then have the FName input name be the file you want to download.

 

Then on the PHP file you created, you send a whole lot of content headers. I don't know if you're wanting to let people donwload images, music, media, PDF documents, executable files etc. So I would suggest you google PHP force image download or PHP force PDF download to find the right headers to use 

I am good at computer

Spoiler

Motherboard: Gigabyte G1 sniper 3 | CPU: Intel 3770k @5.1Ghz | RAM: 32Gb G.Skill Ripjaws X @1600Mhz | Graphics card: EVGA 980 Ti SC | HDD: Seagate barracuda 3298534883327.74B + Samsung OEM 5400rpm drive + Seatgate barracude 2TB | PSU: Cougar CMX 1200w | CPU cooler: Custom loop

Link to post
Share on other sites

You can't really hide a download-link from the user (there's always a way to see what your computer is connecting to), except doing some serverside

id => link

mapping, download the files on the server side (or proxy the requests) and serve them via an id.

Link to post
Share on other sites

  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×