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?

[Webinar] Streamline your web hosting managementRegister Today

ussherConnect With a Mentor Author 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.
Rob SiklosConnect With a Mentor Commented:
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.
Oddsen84Connect With a Mentor Commented:
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
All Courses

From novice to tech pro — start learning today.