SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Dec 2011
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Hosting PHP application locally

    Hello guys;

    In .NET environment, you could deploy you web app to your local server with compilation (which hides all code-behind files, i.e, your server-scripts).

    How can I achieve the same in my WAMP/PHP environment.

    The essence of this is to protect my application from being modified by anyone else behind me.

    Thank you in anticipation of your prompt response.

  2. #2
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    5,071
    Mentioned
    152 Post(s)
    Tagged
    0 Thread(s)
    PHP is an interpreted language not a compiled language, so your code never does get compiled like it does in .NET. There are tools that allow you to obfuscate your code to make it hard for it to be deciphered, but even the best PHP programmers can get around those.

    Also, most of .NET components can be decompiled using tools such as ilSpy and Reflector, so even those are not 100% safe once compiled.
    Be sure to congratulate Patche on earning July's Member of the Month
    Go ahead and blame me, I still won't lose any sleep over it
    My Blog | My Technical Notes

  3. #3
    SitePoint Member
    Join Date
    Dec 2011
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for your prompt and inspiring response.

    But wondering if you can provide me with the link to the tool to use on this.

    Thank you once again.

  4. #4
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    5,071
    Mentioned
    152 Post(s)
    Tagged
    0 Thread(s)
    I've personally never used one, but here is the google search I just performed that contains a listing. Maybe others could express their experiences with using one.
    https://www.google.com/search?sugexp...rs&safe=active
    Be sure to congratulate Patche on earning July's Member of the Month
    Go ahead and blame me, I still won't lose any sleep over it
    My Blog | My Technical Notes

  5. #5
    SitePoint Guru bronze trophy
    Join Date
    Dec 2003
    Location
    Poland
    Posts
    930
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Search for "php encoder" - they can convert php to bytecode and encrypt so getting to the source is very difficult. However most (or maybe all) of them are commercial and require installation on the server.

  6. #6
    SitePoint Member
    Join Date
    Dec 2011
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you guys for the help.

    I am happy to be a PHP programmer with your support.


Bookmarks

Posting Permissions

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