Page 1 of 1

PHP masked links [Solved]

Posted: Sun Apr 04, 2010 8:12 pm
by echofool
Hey,

I have a website which i post my custom made content on the internet to premium members on my site but people keep giving out the download link. So i wanted to "mask" my links.

I host my content on megaupload and these types of links pass around like wild fire basically allowing pirates to share it without paying... so i was hopeing there is something in php that can start the download with a function and not actually show the link in page source / html.

Say the link http://www.megaupload.com?d=12345678 ( this is not a valid link btw just an example ) now thats masked by Megaupload, you cant find the real location of the file in question, but is there a way to mask that link aswell on my site? - So when they click it it will either download or ask them to sign into megaupload...

Im thinking curl might be required but this is a complex thing for my level of PHP so hopeing some one can shed light on if there is even possible.

Re: PHP masked links

Posted: Sun Apr 04, 2010 8:44 pm
by lunarnet76
hi,

your unfortunately facing a problem that can't be solved like that :banghead: ,
you could use curl to stream the entire file from megaupload to the other one but that means that you would basically made them download it from your site ... so megaupload will be useless, otherwise there is no way to give them the link to megaupload with having them ... not having it!
Sorry!

Re: PHP masked links [Solved]

Posted: Wed Apr 14, 2010 4:57 pm
by echofool
Was worth a shot :) Thanks anyway !