473,395 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 (cm****@hotmail.com)

Jun 8 '07 #1
13 7027
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.

Jun 8 '07 #2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

cm****@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.org 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+fYacSNoRAsz1AJ9nzPFiQfidsjd8IqZQCq mxzTNcwgCfQiyk
7He8aFL7Ns7DCVi9YPcn4lE=
=VBOc
-----END PGP SIGNATURE-----
Jun 9 '07 #3
On 8 jun, 20:43, cm****@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 (cm****@hotmail.com)

Jun 9 '07 #4
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
http://www.zzee.com/php-gui/
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 (cm****@hotmail.com)
Jun 9 '07 #5
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
(cm****@hotmail.com)
--
Schraalhans Keukenmeester - sc*********@the.Spamtrapexample.nl
[Remove the lowercase part of Spamtrap to send me a message]

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

Jun 10 '07 #6
>
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 ;)

Jun 10 '07 #7
On Jun 10, 8:50 pm, Paul <zzeegro...@yahoo.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/

Jun 10 '07 #8
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 - sc*********@the.Spamtrapexample.nl
[Remove the lowercase part of Spamtrap to send me a message]

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

Jun 10 '07 #9
<comp.lang.php>
<Schraalhans Keukenmeester>
<Sun, 10 Jun 2007 20:05:11 +0200>
<9b***************************@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 ? .
Jun 10 '07 #10
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.

Jun 10 '07 #11
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:

http://www.zzee.com/php-gui/#vsWamp

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

Jun 10 '07 #12
On Jun 10, 11:48 pm, Paul <zzeegro...@yahoo.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/

Jun 10 '07 #13
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.

Jun 10 '07 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Kzeto | last post by:
Hi, I was wondering does anyone use any third party tool to encrypt the original ASP source code from dispose. Thank you. -- Regard, Khai Mun, Ng...
5
by: cedric buerfent | last post by:
Hello NG, I ve a question concerning automatic generated source code. When I program the declarations of a class (and save it in a file called myclass.hh for example), its a boring work to...
15
by: Enzo | last post by:
Hi Ng, It's possible to protect the source code of a js file? With PHP? Thanks in advance! Enzo
3
by: Mohammad Samara | last post by:
Hello everybody, I have deployed an ASP.NET application for one of our clients, is there a way to hide or encrypt the source code of the application (C# code behind) from being diplayed by...
2
by: HarryMangurian | last post by:
I am really confused ! - Form1 uses an openfiledialoag to get a public strfilename. - Forms 2 and 3 both connect to the database specified in the file name. The connection string is shown below. ...
1
by: iweb | last post by:
Hi, we have an Enterprise Application on ASP and MS SQL 2000. Would like to know if I can convert the asp app to an exe or encrypt / encode / hide the source code so that no one accessing the...
3
by: Eduardo F. Sandino | last post by:
Any one knows how to encrypt javascript code... other way than escape() and unescape() [not is encrypt but a way to protect source code ????
4
by: syamswaroop | last post by:
hi all, how to encrypt the code in php what are the free tools available for encryption? Will web server will be able to run the encrypted code without additonal s/w? thanks,...
6
by: Yemata Abebe | last post by:
How can I hide or encrypt my vb.net source code? 'Example Dim x , y , z as integer x=1 y=2 z= x * y Msgboxz) Thanks in advance
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.