Link to home
Start Free TrialLog in
Avatar of Gabriel7
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.
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

That looks normal to me.  What problem is it causing you?  It should be working just fine.
Avatar of Gabriel7
Gabriel7

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=current&amp;search=123454566"
frameborder="0" style="background: rgb(255, 255, 255); width: 100%; height: 100%; display: block; position: absolute;"></IFRAME></DIV>
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial