PDA

View Full Version : Iframe/Include Page on other server



iUnknown
01-10-2008, 08:30 PM
Hello,

How would I go about including using a php include or loading in an expandable iframe a page on another server? A link going href="http://page.com/page.php" target="iframename" doesn't seem to be loading properly.

This is for a friend, I'm not 100% sure if he's using the code I use, but any suggestions will be appreciated (and working one(s) will be given +rep).

If you're going to suggest a specific code, then please test it and see if it works.

The page is on the same server but at a different URL/domain. openbasedir security is of course on so you can't php include another user's file.

Joe!
01-10-2008, 08:53 PM
edit: read your question wrong.
I don't see why it wouldnt work with what you are doing :s, does he have some sort of hotlinking prevention enabled?

Trigs
02-10-2008, 10:01 PM
It should work, nothing wrong with it.

Want to hide these adverts? Register an account for free!