Displaying other programs in my site

Discussion in 'PHP' started by gr8webseller, Feb 25, 2010.

  1. #1
    I am in a new project of developing a code sinppets site,,, in my site i want to display codes which are submitted by users,,,, the code will be in any language like html, php, asp, js, c, c++,, i want to display them, but they should not executed,,,

    and also, there should be some color highlighting like http://snipplr.com/view/2/check-for-valid-email-address/ ( red, green, blue ),,,,, i want this highlighting in all programming languages,,,

    since the codes are users submitted, please help me how to securely get those codes and display them in my site with PHP
     
    gr8webseller, Feb 25, 2010 IP
  2. s_ruben

    s_ruben Active Member

    Messages:
    735
    Likes Received:
    26
    Best Answers:
    1
    Trophy Points:
    78
    #2
    s_ruben, Feb 25, 2010 IP
  3. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #3
    danx10, Feb 25, 2010 IP
  4. gr8webseller

    gr8webseller Peon

    Messages:
    1,097
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thanks, this is what i want
     
    gr8webseller, Feb 26, 2010 IP