Gabriel7
asked on
& replacing & in iframe url link
I just moved programs from one server to another (CentOS7) using php 5.4.16, Apache 2.4.6. Now I find urls being passed to an iframe is replacing the & with &. I can't go through all the files and adjust just yet. What can I do (within Apache or other) to fix this issue?
Example...
http://myurl.com/viewitems.php?part=1234456&usage=1
becomes
http://myurl.com/viewitems.php?part=1234456&usage=1
Thanks.
Example...
http://myurl.com/viewitems.php?part=1234456&usage=1
becomes
http://myurl.com/viewitems.php?part=1234456&usage=1
Thanks.
That looks normal to me. What problem is it causing you? It should be working just fine.
ASKER
The link doesn't work when the & ends up in the link, fails to show a value ...except if I manually take the link and strip out the amp; from the link..
<DIV align="left"><IFRAME name="frame_current" id="frame_current" src="viewItemps.php?yr=cur rent&s earch=1234 54566"
frameborder="0" style="background: rgb(255, 255, 255); width: 100%; height: 100%; display: block; position: absolute;"></IFRAME></DIV>
<DIV align="left"><IFRAME name="frame_current" id="frame_current" src="viewItemps.php?yr=cur
frameborder="0" style="background: rgb(255, 255, 255); width: 100%; height: 100%; display: block; position: absolute;"></IFRAME></DIV>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.