| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Regular | 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 |
| |
| | #2 (permalink) |
| DNOA Member | 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! |
| |
| | #3 (permalink) | |
| NamePros Regular | Quote:
__________________ :laugh:...::::Pakisp.net::::...-The Entertainment Pack Pakisp.net :wave: Free Web Directory | |
| |
| | #4 (permalink) |
| Pro Coder & Designer | Just use a decompiler and you have the url :P
__________________ Online Dragonball Game |
| |
![]() |
| 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 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 |