Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default Iframe/Include Page on other server

    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.
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


  2. #2
    Join Date
    Jan 2006
    Location
    Kent
    Posts
    987
    Tokens
    0

    Default

    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?
    Last edited by Joe!; 01-10-2008 at 08:54 PM.
    This is our situation and we're happy to be here,
    I wouldn't change this place for anything.


  3. #3
    Join Date
    Oct 2007
    Posts
    824
    Tokens
    71

    Latest Awards:

    Default

    It should work, nothing wrong with it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •