NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Online Movie.

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

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 08-16-2005, 04:40 AM THREAD STARTER               #1 (permalink)
NamePros Regular
 
unknownz's Avatar
Join Date: Aug 2005
Posts: 727
unknownz is just really niceunknownz is just really niceunknownz is just really niceunknownz 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, 08:33 AM   #2 (permalink)
DNOA Member
Join Date: May 2004
Posts: 5,040
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.
????: NamePros.com http://www.namepros.com/programming/115991-online-movie.html

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
mholt is offline  
Old 08-16-2005, 09:00 AM THREAD STARTER               #3 (permalink)
NamePros Regular
 
unknownz's Avatar
Join Date: Aug 2005
Posts: 727
unknownz is just really niceunknownz is just really niceunknownz is just really niceunknownz is just really niceunknownz is just really niceunknownz is just really niceunknownz is just really niceunknownz is just really nice
 



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).
????: NamePros.com http://www.namepros.com/showthread.php?t=115991

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, 04:11 PM   #4 (permalink)
Pro Coder & Designer
 
aween's Avatar
Join Date: Apr 2005
Location: Netherlands
Posts: 967
aween is just really niceaween is just really niceaween is just really niceaween is just really niceaween is just really niceaween is just really niceaween is just really niceaween is just really nice
 



Just use a decompiler and you have the url
__________________
aween web development
aween is offline  
Closed Thread


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


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

Liquid Web Smart Servers  
All times are GMT -7. The time now is 08:47 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger