Go Back   $5 Script Archive Community Forum > Other Scripts & Forums > MP3 Players & Components
Register Try FlashChat Try FlashBB Search Today's Posts Mark Forums Read

MP3 Players & Components Discussion and announcements regarding the Flash MP3 player/component or its skins (soon to be released).

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-24-2010, 09:12 PM
emiguel11 emiguel11 is offline
Junior Member
 
Join Date: Jun 2010
Posts: 1
Default Var $_Get['var']

<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 ?
Reply With Quote
 


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -7. The time now is 08:57 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(c) 1999-2007 TUFaT.com