Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder kosstr12's Avatar
    Join Date
    Apr 2007
    Location
    Woodstock, Georgia
    Posts
    428
    Thanks
    7
    Thanked 5 Times in 5 Posts

    Getting to the url of a page

    There is a game called runescape (http://runescape.com) and i was wondering if you all thot it was possible to embed the game on my site?

  • #2
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    I imagine you could do it through a frameset or an iframe, although its also possible that their site is programmed to break out of frames.

    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #3
    New Coder
    Join Date
    Dec 2005
    Posts
    53
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I tried to do that on my site (by your sig, we're similar in age, so that explains it). I just found it too annoying to list links for worlds. I was making my own mini portal.

    If you want a single world, it'll probably be easier. I couldn't get the url/applet name of the RS applet, from the source code. I don't get the .ws file extension, anyone know what it means? Anway, I assume RuneScape could be framed as in the above post or embedded, if you found the applet name and used the right URL for your server of choice.

  • #4
    Senior Coder rafiki's Avatar
    Join Date
    Aug 2006
    Location
    Floating around somewhere...
    Posts
    2,043
    Thanks
    19
    Thanked 42 Times in 42 Posts
    the javascript on the homepage of runescape.com is not allowed unless the iframe is addressed as www.runescape.com so the script will force your page to www.runescape.com unless you find a way to break the script btw i used 2 play rs, lvl 101 combat rafiki_1987is the username check my stats


  •  

    Posting Permissions

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