Hi All,
I have a bit aof a problem with passing a URL as a query string to be displayed in an iframe. Here is what it would look like:
ShowIFrame.php?URL=http://www.mls.ca/PropertyResults.aspx? ... aID%3d6571
How ever reading the value of URL would return only:
http://www.mls.ca/PropertyResults.aspx?Mode=0
The odd thing is even if I replace the & with either & or with %26 i still get the same result.
Thank you all.
passing a URL as a query string
Moderator: General Moderators
Hi Again,
Well it looks like I found the solution on my own. In my rush to ask the question I forgot to mention that the link to the page is opened via a dynamic flash button. And this button was the culprit. It would decode my converted & or %26 back to & in it's own code.
So here was my quick solution (done by had and not it code yet) to convert the & to %2526, let the falsh convert the %25 part of it to % so it would end up passing %26 which fixes all my problems.
Thanks tim for your anwser.
<SOLVED>
Well it looks like I found the solution on my own. In my rush to ask the question I forgot to mention that the link to the page is opened via a dynamic flash button. And this button was the culprit. It would decode my converted & or %26 back to & in it's own code.
So here was my quick solution (done by had and not it code yet) to convert the & to %2526, let the falsh convert the %25 part of it to % so it would end up passing %26 which fixes all my problems.
Thanks tim for your anwser.
<SOLVED>