Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

Online Movie.

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
Watch

unknownz

Established Member
Impact
3
Hi
I want to show my website members a mvoie which is in .wmv format. Is there any script which changes the link of the file each time it is played so that i can protect leeching/hot linking. It will be great if this script also plays the file and does not allow download(not very important). Any help will be appreciated.
Thank you
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Yes, possible, but to keep track of the current name each change you will want to store it in a filename (but that can be insecure...) or a database (recommended).

So, in a PHP file that plays the script, just have it rename that movie filename, then store the new filename in a database. The page that LINKS to the movie should call from the database the current filename.

The only problem I see with this is if you get lots of traffic and by the time the page to click to go to the movie has loaded, the name will have changed ... and the page won't know that, thus giving you a 404 error.

I'd recommend setting a .htaccess file... google it ;)
 
0
Close
compuXP said:
Yes, possible, but to keep track of the current name each change you will want to store it in a filename (but that can be insecure...) or a database (recommended).

So, in a PHP file that plays the script, just have it rename that movie filename, then store the new filename in a database. The page that LINKS to the movie should call from the database the current filename.

The only problem I see with this is if you get lots of traffic and by the time the page to click to go to the movie has loaded, the name will have changed ... and the page won't know that, thus giving you a 404 error.

I'd recommend setting a .htaccess file... google it ;)

thanks alot for the reply. I have actually found a better way. I will convert wmv to fla and play them in a flash player so none will ever get the link to the file :)
 
0
Close
Just use a decompiler and you have the url :P
 
0
Close
CatchedCatched

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back