escape a header ? so GET will work

Hi, Im trying to embed a flash player that needs to call a playlist that is dynamicly generated.


but I think the question mark is being picked up by the inclusion statement and not getting to the php.

I tried:

thinking that if i used the hex for ? it might be able to get the list id to the php.  didnt work.

Without the list id the playlist cant be generated,  how can I pass the list id to the php script?

<param name="movie" value="" /><param name="loop" value="false" /><param name="quality" value="high" />

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rob SiklosCommented:
try running the php urlencode() function on the playlist_url param
ussherAuthor Commented:
Great thought.  but it didnt work.

it did the same as replacing it with hex.  except it got the = too.
Take the variable out of the playlist url and pass it as a normal variable. then when retriving/using the variable just append it again
ussherAuthor Commented:
I tried that but because the flie is embeded with HTML the variable is not passed to the file.

It is because the variable would not be picked up in the scope of the document that i changed it to go through the GET system
ussherAuthor Commented:
I found the problem.

I was using 'if is not numeric' as a test on the variable to make sure it was there, and in the right form.  The variable was arriving but the flash file was appending suffix to the variable so it came out incorrect.

I passed it 123 but when it got to the php script through the flash it had become 123?0.9823749234  so wasn't getting through the numeric test which i interpreted as not arriving.

Thank you for your time.  Sorry for asking the wrong question that couldn't be answered.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.