|
|||||||
| MP3 Players & Components Discussion and announcements regarding the Flash MP3 player/component or its skins (soon to be released). |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
<script type="text/javascript" src="/red/player/swfobject.js"></script>
<script type="text/javascript"> function ShowParam(txt) { alert(txt); } </script> <div id="tufat_div">Espere un monento por favor</div> <script type="text/javascript"> var so= new SWFObject("mp3player.swf?xml=config.php", "mp3player", "335", "247", 7, "#ffffff"); so.addParam("allowScript","sameDomain"); so.write("tufat_div"); </script> that the config.php file does not read the var $ _GET ['var'], nor any that has ['']? I have a WebSite where users can upload their mp3, using php and Mysql. When someone visits the profile of each user should be able to listen to the mp3 that the user went up in your profile. Change the config.xml file for config.php. but when income $ name = $ _GET ['mp3_name'] in config.php is not in the file mp3player.swf $ Name = "mp3 name", so if it works $ Name = $ _GET ['mp3_name'] does not work when I look in the browser name www.mysite.com/config.php?mp3_name=mp3 All prints correctly, but in the mp3player.swf not work. How can I pass VAR $ _GET [var'''] A mp3player.swf ? |
| Thread Tools | |
| Display Modes | |
|
|