encrypt php source code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • cmk128@hotmail.com

    encrypt php source code

    Hi
    I need to put my php source to customer's server and i don't want
    it to view the code because i am getting his monthly fee. How can i
    encrypt it? Any free tool? I am a newbiesssss
    thanks
    from Peter (cmk128@hotmail .com)

  • Evil Otto

    #2
    Re: encrypt php source code

    On Jun 8, 2:43 pm, cmk...@hotmail. com wrote:
    Hi
    I need to put my php source to customer's server and i don't want
    it to view the code because i am getting his monthly fee. How can i
    encrypt it? Any free tool? I am a newbiesssss
    thanks
    from Peter (cmk...@hotmail .com)

    Let me make sure I understand..

    Your customer runs a web server, and he's paying you a monthly fee for
    some code that you've written?

    While what you're suggesting might be technically possible (although I
    don't know how you'd go about doing it) it's impractical in the
    extreme. Your customer owns and (I'm assuming) controls that web
    server. For the PHP module to read and interpret the code, it must be
    able to read the files on the web server, and therefore the files must
    be readable. Your customer can read any file on that server.

    What exactly is he paying you for? A monthly access fee to your
    code? That isn't going to work.

    Most PHP coders I know charge an hourly rate up front. Any
    maintenance is billed hourly as well.

    If you're looking to generate code that does what you're looking to
    do, I suggest C or another compiled language, not an interpreted one
    like Java or PHP or Perl.

    Comment

    • Edward Z. Yang

      #3
      Re: encrypt php source code

      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1

      cmk128@hotmail. com wrote:
      I need to put my php source to customer's server and i don't want
      it to view the code because i am getting his monthly fee. How can i
      encrypt it? Any free tool? I am a newbiesssss
      There are ways to encrypt PHP code. I do not recommend them: they all
      cost money and can be circumvented.

      In this case, I would recommend getting your own server to host the PHP
      application and have your client use that server (using DNS forwarding,
      etc). This gives you full control over your code and prevents the client
      from ever seeing it.

      - --
      Edward Z. Yang GnuPG: 0x869C48DA
      HTML Purifier <htmlpurifier.o rg Anti-XSS HTML Filter
      [[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.6 (MingW32)
      Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

      iD8DBQFGagsKqTO +fYacSNoRAsz1AJ 9nzPFiQfidsjd8I qZQCqmxzTNcwgCf Qiyk
      7He8aFL7Ns7DCVi 9YPcn4lE=
      =VBOc
      -----END PGP SIGNATURE-----

      Comment

      • robinvw1@hotmail.com

        #4
        Re: encrypt php source code

        On 8 jun, 20:43, cmk128@hotmail. com wrote:
        Hi
        I need to put my php source to customer's server and i don't want
        it to view the code because i am getting his monthly fee. How can i
        encrypt it? Any free tool? I am a newbiesssss
        thanks
        from Peter (cmk128@hotmail .com)

        Comment

        • Paul

          #5
          Re: encrypt php source code

          This can be done, but the code can be decompiled and debugged. Your
          client needs to put some module on their webserver to be able to run
          the compiled code. This is not always possible.

          The free one is bcompiler. You can find those non free by typing "php
          compiler" into a search engine.

          On a personal note, as other posters noted you can not build a
          reliable (i.e. mutually beneficial) business out of this business
          model.

          --
          ZZEE PHP GUI - Easily run PHP scripts in GUI mode in Windows



          cmk...@hotmail. com wrote:
          Hi
          I need to put my php source to customer's server and i don't want
          it to view the code because i am getting his monthly fee. How can i
          encrypt it? Any free tool? I am a newbiesssss
          thanks
          from Peter (cmk128@hotmail .com)

          Comment

          • Schraalhans Keukenmeester

            #6
            Re: encrypt php source code

            At Sat, 09 Jun 2007 13:37:16 -0700, Paul let h(is|er) monkeys type:

            >
            On a personal note, as other posters noted you can not build a
            reliable (i.e. mutually beneficial) business out of this business
            model.
            >
            --
            ZZEE PHP GUI - Easily run PHP scripts in GUI mode in Windows
            >
            So, you are the spammer trying to sell this utterly useless piece of
            zzoftware? I wonder who wrote the code parser and pseudowebserver for it.
            Wouldn't surprise me if it's violating one or more licenses held by others.

            Selling such a non-product, your own business model seems flaky at best,
            Paul...
            >
            cmk...@hotmail. com wrote:
            >Hi
            > I need to put my php source to customer's server and i don't want
            >it to view the code because i am getting his monthly fee. How can i
            >encrypt it? Any free tool? I am a newbiesssss thanks from Peter
            >(cmk128@hotmai l.com)
            --
            Schraalhans Keukenmeester - schraalhans@the .Spamtrapexampl e.nl
            [Remove the lowercase part of Spamtrap to send me a message]

            "strcmp('apples ','oranges') < 0"

            Comment

            • Paul

              #7
              Re: encrypt php source code

              >
              So, you are the spammer trying to sell this utterly useless piece of
              zzoftware?
              Calling names is what even a 5-yr old can do. I dare you write a piece
              of "zzoftware" of the this complexity.


              I wonder who wrote the code parser and pseudowebserver for it.

              I wrote the webserver part from scratch. Yes, it doesn't use TCP/IP,
              that's why you call it "pseudo"? But this was a deliberate design, so
              the program doesn't interfere with any networking and for security
              reasons. I also wrote a full featured webserver several years back if
              you are interested. And there is no parser - it comes with PHP intact
              as compiled by the PHP Group.
              Wouldn't surprise me if it's violating one or more licenses held by others.
              Nope, I didn't use any of Apache's or others code, as for the browser
              it is the official policy of MS to allow reusing of the browsing core
              like that, go see MSDN.
              Selling such a non-product, your own business model seems flaky at best,
              Paul...
              I wrote this product because there are important things inherently
              missing in WAMP (simply because it is the product suited for web in
              the first place not for desktop). ZPG brings PHP to the Windows
              desktop.

              I bet you would call MS Word a non-product as well, as there is the
              free Star Office there ;)

              Comment

              • R. Rajesh Jeba Anbiah

                #8
                ZZEE PHP GUI Question (Was Re: encrypt php source code)

                On Jun 10, 8:50 pm, Paul <zzeegro...@yah oo.comwrote:
                <snip>
                I wrote this product because there are important things inherently
                missing in WAMP (simply because it is the product suited for web in
                the first place not for desktop). ZPG brings PHP to the Windows
                desktop.
                I'm just wondering, how it's different from PHP4App / PHP4Delphi

                --
                <?php echo 'Just another PHP saint'; ?>
                Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

                Comment

                • Schraalhans Keukenmeester

                  #9
                  Re: encrypt php source code

                  At Sun, 10 Jun 2007 08:50:52 -0700, Paul let h(is|er) monkeys type:
                  >>
                  >So, you are the spammer trying to sell this utterly useless piece of
                  >zzoftware?
                  >
                  Calling names is what even a 5-yr old can do. I dare you write a piece
                  of "zzoftware" of the this complexity.
                  >
                  Calling names? I just put the applicable sticker on your shirt, since you
                  were, yes, spamming this ng.

                  I don't accept your dare, I go for truth this time. I don't spend my time
                  writing stuff I see no need for, and arguing over who wrote the more
                  complex piece of software in a ng is even more senseless than comparing
                  our willies.
                  >
                  I wonder who wrote the code parser and pseudowebserver for it.
                  >
                  I wrote the webserver part from scratch. Yes, it doesn't use TCP/IP,
                  that's why you call it "pseudo"? But this was a deliberate design, so
                  the program doesn't interfere with any networking and for security
                  reasons.
                  I also wrote a full featured webserver several years back if
                  you are interested. And there is no parser - it comes with PHP intact as
                  compiled by the PHP Group.
                  >
                  Kudos to you for writing your own webserver. I haven't achieved anything
                  similar, unless you call the typical one-liner-mini-webservers in Perl or
                  Ruby we probably all tried and had fun with an achievement. The main
                  reason being: Apache. Why would I want to reinvent the wheel?

                  >Wouldn't surprise me if it's violating one or more licenses held by
                  >others.
                  >
                  Nope, I didn't use any of Apache's or others code, as for the browser it
                  is the official policy of MS to allow reusing of the browsing core like
                  that, go see MSDN.
                  I believe you. Comment withdrawn.
                  >Selling such a non-product, your own business model seems flaky at
                  >best, Paul...
                  >
                  I wrote this product because there are important things inherently
                  missing in WAMP (simply because it is the product suited for web in the
                  first place not for desktop). ZPG brings PHP to the Windows desktop.
                  >
                  As I said elsewhere, your app is much more like WAMP -for the web- than
                  it is a standalone GUI. I still fail to see the added value. But then I am
                  not the typical Winclicker who hasn't got a clue about writing custom
                  scripts. Not unlike -I suspect- the majority of PHP coders in this ng.


                  I bet you would call MS Word a non-product as well, as there is the free
                  Star Office there ;)
                  See my sig. I would and do call MS Word a product, and I'll spare you my
                  top-5 adjectives I usually combine it's name with in a sentence. Same goes
                  for the OS it requires, in case you wonder. It's a product.

                  Regards,

                  --
                  Schraalhans Keukenmeester - schraalhans@the .Spamtrapexampl e.nl
                  [Remove the lowercase part of Spamtrap to send me a message]

                  "strcmp('apples ','oranges') < 0"

                  Comment

                  • Krustov

                    #10
                    Re: encrypt php source code

                    <comp.lang.ph p>
                    <Schraalhans Keukenmeester>
                    <Sun, 10 Jun 2007 20:05:11 +0200>
                    <9b22b$466c3d3f $58d3b1a3$29574 @news.speedlinq .nl>
                    So, you are the spammer trying to sell this utterly useless piece of
                    zzoftware?
                    Calling names is what even a 5-yr old can do. I dare you write a piece
                    of "zzoftware" of the this complexity.
                    >
                    Calling names? I just put the applicable sticker on your shirt, since you
                    were, yes, spamming this ng.
                    >
                    Last week you said you didnt like the way i name variables in my code .

                    Are you under the impression this newsgroup revolves around your own
                    personal likes and dislikes ? .

                    Do you think users should stop and think before they make a post to this
                    newsgroup to consider if it will be acceptable to yourself ? .

                    Comment

                    • Paul

                      #11
                      Re: ZZEE PHP GUI Question (Was Re: encrypt php source code)

                      I'm just wondering, how it's different from PHP4App / PHP4Delphi

                      Sorry, don't know what PHP4App is and didn't use Delphi since the
                      1990s.

                      Comment

                      • Paul

                        #12
                        Re: encrypt php source code

                        As I said elsewhere, your app is much more like WAMP -for the web- than
                        it is a standalone GUI. I still fail to see the added value. But then I am
                        not the typical Winclicker who hasn't got a clue about writing custom
                        scripts. Not unlike -I suspect- the majority of PHP coders in this ng.
                        >
                        For you and for others who say there is a free WAMP, I compiled a
                        comparison between the two. All in all these are different programs:



                        And of course ZPG is for those who *can* write a custom script. Those
                        who can't perhaps have no idea what PHP is.

                        Comment

                        • R. Rajesh Jeba Anbiah

                          #13
                          Re: ZZEE PHP GUI Question (Was Re: encrypt php source code)

                          On Jun 10, 11:48 pm, Paul <zzeegro...@yah oo.comwrote:
                          I'm just wondering, how it's different from PHP4App / PHP4Delphi
                          >
                          Sorry, don't know what PHP4App is and didn't use Delphi since the
                          1990s.
                          I'm yet to try yours, but it all seems me an CGI version and hence
                          php4app seems to serve similar purpose.

                          --
                          <?php echo 'Just another PHP saint'; ?>
                          Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

                          Comment

                          • Paul

                            #14
                            Re: ZZEE PHP GUI Question (Was Re: encrypt php source code)

                            I'm yet to try yours, but it all seems me an CGI version and hence
                            php4app seems to serve similar purpose.
                            Yes, it is a webserver with CGI and a webbrowser. But everything is
                            preconfigured and works right away with no additional configuration /
                            settings tweaking.

                            I'll take a look at this php4app. Do you mind giving a link? I'll try
                            to search for it.

                            Comment

                            Working...