I’ve put an iframe instance on a page to display a page from another web site on a different domain. The iFrame action is the only thing on the page.
When I publish it certainly pulls in the requested page, but after a few seconds the URL in the address bar changes from www.mydomain/iframepage.html to the URL of the supplying web site.
Is this normal behaviour? How can I ‘import’ (for want of a better word) a page from another site without it displaying the supplying site’s URL? The way the iFrame is working at the moment is no different than just providing a link to another site!
I tried a PHP include but got a bunch of [include-function] errors, so I guess PHP isn’t set up for it…??
/* Break out of iframe - mainly used for iFrame payment gateways to stop confirmed page showing within CC */
if (top.location.href!=self.location.href) {
top.location = self.location.href;
}
Why is it you are pulling in the iFramed page in the first place?
Long story, which I haven’t time to type out and tell you!
Briefly…hosting company doesn’t support ioncube - client won’t move from hosting company - so run ioncube and the script somewhere else and pull it into main site.
At least that’s my idea. Maybe there’s a better one?
I have far too much invested in this whole ecommerce issue…time, mostly! All brought about by Barclays changing their encryption routines which could not be fixed in the cart we were using without lengthy and difficult upgrade. I won’t go into the rest of it, it makes me weep…