[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 08-16-2005, 03:40 AM   #1 (permalink)
NamePros Regular
 
unknownz's Avatar
 
Join Date: Aug 2005
Posts: 732
127.52 NP$ (Donate)

unknownz is just really niceunknownz is just really niceunknownz is just really niceunknownz is just really niceunknownz is just really nice


Online Movie.

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
__________________
:laugh:...::::Pakisp.net::::...-The Entertainment Pack Pakisp.net :wave:
Free Web Directory
unknownz is offline  
Old 08-16-2005, 07:33 AM   #2 (permalink)
DNOA Member
 
mholt's Avatar
 
Join Date: May 2004
Location: Utah
Posts: 5,041
18.01 NP$ (Donate)

mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future

Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)
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
__________________
codeboards

A high-quality community of programmers -- Join today and post! We want new members!
mholt is offline  
Old 08-16-2005, 08:00 AM   #3 (permalink)
NamePros Regular
 
unknownz's Avatar
 
Join Date: Aug 2005
Posts: 732
127.52 NP$ (Donate)

unknownz is just really niceunknownz is just really niceunknownz is just really niceunknownz is just really niceunknownz is just really nice


Quote:
Originally Posted by compuXP
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
__________________
:laugh:...::::Pakisp.net::::...-The Entertainment Pack Pakisp.net :wave:
Free Web Directory
unknownz is offline  
Old 08-16-2005, 03:11 PM   #4 (permalink)
Pro Coder & Designer
 
xlusive's Avatar
 
Join Date: Apr 2005
Location: Netherlands
Posts: 964
101.50 NP$ (Donate)

xlusive is just really nicexlusive is just really nicexlusive is just really nicexlusive is just really nicexlusive is just really nice


Just use a decompiler and you have the url :P
__________________
Online Dragonball Game
xlusive is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yahoo Buys Into Chinese Online Company worldstar Industry News 0 08-11-2005 08:00 PM
Low-cost Software + Videos, completly NEW! snareklutz For Sale / Advertising Board 0 05-10-2005 01:37 AM
Highest cost PPC term at Overture? domainica Parking & Traffic Monetization 20 10-28-2004 06:03 AM
Your help is needed, please sigpig89 Web Design Discussion 3 08-03-2004 01:53 PM

Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 12:38 PM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85