Is it possible to encrypt a source code of few php files?

Discussion in 'PHP' started by webmarkets, Jul 30, 2012.

  1. #1
    I am making a college project and I dont want to give source code of few files, I want to know is it possible to hide source code of php of few pages?
     
    webmarkets, Jul 30, 2012 IP
  2. flotwig

    flotwig Peon

    Messages:
    39
    Likes Received:
    1
    Best Answers:
    2
    Trophy Points:
    0
    #2
    This is possible, it's called obsfucation and you can find guides to it on the first page of Google.

    You do know that when a user loads a PHP page, they only receive the completed HTML, not the PHP used to generate it?
     
    flotwig, Jul 30, 2012 IP
  3. Cybercon

    Cybercon Active Member

    Messages:
    103
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    88
  4. flotwig

    flotwig Peon

    Messages:
    39
    Likes Received:
    1
    Best Answers:
    2
    Trophy Points:
    0
    #4
    I wasn't aware that MCrypt encrypted the code. I thought it was just for data.
     
    flotwig, Jul 30, 2012 IP