Results 1 to 2 of 2

Thread: Re-Direct PHP Write Address...

  1. #1
    Join Date
    Mar 2010
    Posts
    14
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default Re-Direct PHP Write Address...

    Hi There,

    I have a website which links to .MP3 files and allows users to listen to them through a .SWF music player, however, one of the websites that hosts the .MP3 files does not work with the music player. The reason is because the URL found by website is not a direct link to the .MP3 it is an instant re-direct to the .MP3 files.

    Now, the issue is that the .SWF music player tries to play the initial page, which is of course just a re-direct page so it wont play anything.

    How do I write a code in PHP that waits 5 seconds and then copies the new, .MP3, file address into a variable at the top which can then be copied in turn into the .SWF player script? Hope it makes sense!

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Corrections to my coding/thoughts welcome.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •