Dismiss Notice
Welcome to Our Community
Wanting to join the rest of our members? Feel free to sign up today.

turn php variable back into it's original filename please ?

Discussion in 'Programming' started by Tab, Mar 13, 2011.

  1. Tab

    Tab New Member Webmaster

    Hi - I have a site that uses php to let users play an mp3 chosen from a list. The mp3 variable name is always $imgname12.
    Quicktime then plays whatever mp3 the user chose, but using the variable $imgname12 instead of the actual mp3 filename.
    Can anyone please tell me how to get the original filename from $imgname12 as I want to replace Quicktime with a flash player, but can't work out how to get the flash player to read $imgname12 - it only seems to work if you pass it a filename such as song.mp3 etc.
    Or, is there a way to make a flash player work with a php variable ?

    If anyone needs to view the quicktime code currently on the site just let me know and I'll post it here!

    Thanks in advance,
  2. trojan killer

    trojan killer New Member Webmaster

    I need the code to analyze. Hope I can help you.

Featured Resources (View All)

Share This Page