| | |
Compile PHP
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2005
Posts: 76
Reputation:
Solved Threads: 1
cscgal: how is it possible to reduce something "by as much as 500 to 1000%"?
I use this to make executable files from PHP files. I mean, you run the code in something such as DOS, but at least it works. I use it when I don't have a PHP server in hand.
•
•
Join Date: Sep 2007
Posts: 1
Reputation:
Solved Threads: 0
Found this:
http://www.bambalam.se/bamcompile/
not really to protect scripts for commerce, but packages compiled scripts with the php-interpreter.
http://www.bambalam.se/bamcompile/
not really to protect scripts for commerce, but packages compiled scripts with the php-interpreter.
•
•
Join Date: Nov 2007
Posts: 2
Reputation:
Solved Threads: 0
There are good reasons to encode php scripts. These may include: protecting intellectual property for distribution, licensing, protecting scripts from being manipulated or changed, and increasing performance.
Check out these packages:
Source Guardian
Php Cipher
PHP Shield
Nu-Coder
Byte Run
SourceCop
Check out these packages:
Source Guardian
Php Cipher
PHP Shield
Nu-Coder
Byte Run
SourceCop
•
•
Join Date: Sep 2008
Posts: 1
Reputation:
Solved Threads: 0
Sure you can
To make PHP a Windows or Linux binary to execute offline, you can use roadsend, then double click the resulting exe (in the windows case)
, you can also embed a tiny web server in that exe (ships with roadsend)! or compile it as console application
To make your code not readable by humans and still run on your LAMP setup, you can use the encode feature of the free eaccelerator (encoder has been depreciated i think so you can only use an OLDER version)
A lower priced nice solution is ioncube, it is very good
Also need to mention that in IONCUBE and eaccelerator's case, reverse compiling your code is not impossible... it has to live in a stack in memory as opcode to run, and someone with plenty of experience and time (Experience and free time don't usually come together) can decompile it, she will not end up with your exact code, variables will have different names like (variable1 and variable2) but in general, if you don't write a hit operating system no one invests that much time cracking your code, it might be easier to rewrite it.
To make PHP a Windows or Linux binary to execute offline, you can use roadsend, then double click the resulting exe (in the windows case)
, you can also embed a tiny web server in that exe (ships with roadsend)! or compile it as console applicationTo make your code not readable by humans and still run on your LAMP setup, you can use the encode feature of the free eaccelerator (encoder has been depreciated i think so you can only use an OLDER version)
A lower priced nice solution is ioncube, it is very good
Also need to mention that in IONCUBE and eaccelerator's case, reverse compiling your code is not impossible... it has to live in a stack in memory as opcode to run, and someone with plenty of experience and time (Experience and free time don't usually come together) can decompile it, she will not end up with your exact code, variables will have different names like (variable1 and variable2) but in general, if you don't write a hit operating system no one invests that much time cracking your code, it might be easier to rewrite it.
![]() |
Similar Threads
Other Threads in the PHP Forum
- Previous Thread: can I have more than one htaccess file in a site? as in inside subdirectories...
- Next Thread: mysql error
| Thread Tools | Search this Thread |
# .htaccess 5.2.10 ajax apache api array beginner binary broken cakephp checkbox class clean clients cms code cron curl database date display dissertation dynamic echo echo$_get[x]changingitintovariable... email error file files folder form forms function functions google href htaccess html image images include insert integration ip java javascript joomla ldap legislation limit link local login loop mail menu mlm mod_rewrite multiple mysql mysqlquery oop open paypal pdf persist php problem query radio random recursion regex remote script search server sessions sms soap sockets source space spam sql syntax system table tutorial update upload url validation validator variable video web xml youtube






