Sunnrunner wrote: > Hello, > > I have a button flash file. This file needs two parameters that are passed > in through the query string. > > Here's my query string. > navButtons.swf?myURL={$menu_channel_id[menu]}&buttonLabel={$menu_text[menu]} > > here is the URL that is being passed in > > domain.com/index.php?c=21&a=35&w=2&r=Y > > the ampersands are making flash think these are separate variables to pass > into flash. Is there a way to make flash send in the above link as a whole > without chopping it up into several separate variables. urlencode the url ... echo "navButtons.swf?myURL=", urlencode(domain.com/index.php?c=21&a=35&w=2&r=Y), "&buttonLabel=ClickMe"; chances are you will have urldecode the value of myURL inside the flash file in order to use. > > I would use some other method besides a query string but, I really need this > to work with it. > > Hope that makes sense! > > Thanks, > T > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php