1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

url parse offsite linking

Discussion in 'General PHP and MySQL Discussions' started by Mike Law, May 30, 2011.

  1. Mike Law

    Mike Law Active Member

    Now I am sure that the title MAKES NO sense, but still...

    I need to somehow link my wiki to my forum by doing the following

    1) in wiki user is on page www.wiki.com/wiki/coolpage
    on this page is a button, "forum"
    2) click on this button goes to "www.myxenforum.com/search/coolpage

    Now, please/... can anyone tell me the recipe for the code to use...?
  2. SheepCow

    SheepCow Well-Known Member

    Erm, use the full URL?

    Depends on the wiki software how that works but for Media Wiki it's something like [http://www.example.com/forum My Forum]
    Mike Law likes this.
  3. Mike Law

    Mike Law Active Member


    I think my question is perhaps difficult.

    I mean a link that once parsed looks like this


    Now [thetitleofthispage] is dynamic, as in, on every page it automatically inserts (parses) the title of that particular page.
    this has nothing to do with wiki, but I forgot the code for doing this....
  4. Wuebit

    Wuebit Well-Known Member

    Mike Law likes this.
  5. Mike Law

    Mike Law Active Member

    Thank you,

    Unfortunately I do not understand the way "search" works, as it assigns a "search number" that seems to auto increment. So my dynamic links wouldnt know how to interpret or pass that along.

    Any ideas anyone?
  6. SheepCow

    SheepCow Well-Known Member

    Mike Law likes this.
  7. Mike Law

    Mike Law Active Member

    Oh that is fantastic! thank you so much!

Share This Page