Find And Replace Script Coding

Discussion in 'PHP' started by aCebOy, Feb 7, 2013.

  1. #1
    Dear php experts, I need a script to insert it to my forum like this
    Users write page, it will be change auto into a link
    please help me
     
    aCebOy, Feb 7, 2013 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    Don't get what you need? please give more info, what for kind of forum?
     
    EricBruggema, Feb 8, 2013 IP
  3. aCebOy

    aCebOy Banned

    Messages:
    68
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    36
    #3
    Dear Look, We Write Here Simple Face.book (with Out Dot)
    It Changed Into A Link Auto
    I Want Same Option In My forum
     
    aCebOy, Feb 8, 2013 IP
  4. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #4
    I think i get what you need, you want words to be replaced with links

    example:
    this is a text about facebook and twitter

    and then you would like to replace for example facebook/twitter with links to the website? what forum are you using?
     
    EricBruggema, Feb 9, 2013 IP
  5. aCebOy

    aCebOy Banned

    Messages:
    68
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    36
    #5
    yEs yESs Dear Exactly ..
     
    aCebOy, Feb 9, 2013 IP
  6. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #6
    Then again, what forum are you using?
     
    EricBruggema, Feb 9, 2013 IP
  7. aCebOy

    aCebOy Banned

    Messages:
    68
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    36
    #7
    XenForo
     
    aCebOy, Feb 10, 2013 IP
  8. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #8
    EricBruggema, Feb 10, 2013 IP
  9. ezprint2008

    ezprint2008 Well-Known Member

    Messages:
    611
    Likes Received:
    15
    Best Answers:
    2
    Trophy Points:
    140
    Digital Goods:
    1
    #9
    You could also have the file read and find the keyword. Then string replace those words with the full link and keyword.
     
    ezprint2008, Feb 12, 2013 IP