Need Some Help - Its kind of hard to explain

Discussion in 'Programming' started by !Unreal, Jul 17, 2008.

  1. #1
    I have a file, which is not hosted on my site, which I need to stream through an FLV player which I made on flash. But the problem is that the file I need to stream is not named 'file.flv' it is named 'file.rar'. However it is an flv file not a rar. If you rename the file to .flv it plays.

    So what I need to do is to some how change the extention to .flv before it goes into the flv player. I know its possible becuase another site is doing a similar thing.

    If I have not explained this clearly enough please tell me what you dont understand. :eek:

    Thanks guys :)
     
    !Unreal, Jul 17, 2008 IP
  2. !Unreal

    !Unreal Well-Known Member

    Messages:
    1,671
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    165
    #2
    I found this code but I dont know how to apply it.

    AddType application/x-httpd-php .gne
    Code (markup):
    EDIT: By the way that is for .htaccess
     
    !Unreal, Jul 17, 2008 IP