Current location: Hot Scripts Forums » Programming Languages » PHP » force a download file in flash player !

force a download file in flash player !

Reply
  #1 (permalink)  
Old 10-17-07, 06:40 PM
m_abdelfattah m_abdelfattah is offline
Newbie Coder
 
Join Date: Sep 2004
Location: Alexandria, Egypt.
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
force a download file in flash player !

I made a small force a download script, when I try the script here :
http://www.omgitsfamilyguy.com/get_video.php?id=2

it downloads the file fine, but when I try to play the file here :
http://www.omgitsfamilyguy.com/video.../flvplayer.php

it doesn't work !!

here's source code :
http://rafb.net/p/OW4juJ10.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 10-18-07, 02:37 AM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,029
Thanks: 14
Thanked 34 Times in 33 Posts
Quote:
Originally Posted by alex_funky_dj View Post
I made a small force a download script, <snip>

it downloads the file fine, but when I try to play the file here :
http://www.xxxxxxxxxxxxx.com/video_a.../flvplayer.php
it doesn't work !!
All I can say is "GOOD". I'm glad it doesn't work, and I hope it NEVER works.

It's extreme jerk-like behavior to to try and force my PC to download something I haven't explicitly asked for. What makes you think anyone wants you forcing ANYTHING to their browser or computer?
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data (scroll down)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 10-18-07, 03:14 AM
m_abdelfattah m_abdelfattah is offline
Newbie Coder
 
Join Date: Sep 2004
Location: Alexandria, Egypt.
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by End User View Post
All I can say is "GOOD". I'm glad it doesn't work, and I hope it NEVER works.

It's extreme jerk-like behavior to to try and force my PC to download something I haven't explicitly asked for. What makes you think anyone wants you forcing ANYTHING to their browser or computer?
Hey, I think you miss understand the point !, I made this script to hide the video source not for download !!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 10-18-07, 07:54 AM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,029
Thanks: 14
Thanked 34 Times in 33 Posts
Quote:
Originally Posted by alex_funky_dj View Post
Hey, I think you miss understand the point !
Only if you miscommunicated.


Quote:
Originally Posted by alex_funky_dj View Post
I made this script to hide the video source not for download !!
Maybe you should have said that, instead of simply saying "I made a small force a download script" that "downloads the file fine". That sounds like you're forcing a file to download to the user's browser, unless I misunderstood the words "force", "file", and "download".
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data (scroll down)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 10-18-07, 08:07 AM
m_abdelfattah m_abdelfattah is offline
Newbie Coder
 
Join Date: Sep 2004
Location: Alexandria, Egypt.
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
an expert like u, should try & understand more fast !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 10-19-07, 05:05 AM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,029
Thanks: 14
Thanked 34 Times in 33 Posts
Quote:
Originally Posted by alex_funky_dj View Post
an expert like u, should try & understand more fast !
Yeah, thanks for the advice. I'll get right on that.
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data (scroll down)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


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

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload file to table so ONLY files tied to primary key are displayed in record? grafixDummy PHP 4 12-20-03 04:28 PM


All times are GMT -5. The time now is 09:44 PM.
vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.