Hi Guys, please help me again. I have a system that i sell and what i do is that i hosted them. There is a client who requested to have his own dedicated server. Now i want to hide the script so that he/she may not share to others. Its a little bit awkward coz where using php which is a open source . Is this possible. If NO, please help me defend this to my client Thanks, Mike
Hi, thanks for the response, well in short i dont want to let my client to see the code when i destribute the files. Coz usually, when i sell my bank app, im the on who hosted it, now they are requesting to have their own dedicated server and hence they can play around (modify codes) or share the script to others Thanks again, mike
Hi Guys, this is one im looking for: http://www.ioncube.com/sa_encoder.php is there other alternative that is much cheaper or free. Thanks, MIke
Yeah, i think ioncube will work for me. Here is a sample: FROM: <?php echo "Tes IonCube"; ?> TO: <?php //003f3 // IONCUBE ENCODER 6.5 EVALUATION // THIS LICENSE MESSAGE IS ONLY ADDED BY THE EVALUATION ENCODER AND // IS NOT PRESENT IN PRODUCTION ENCODED FILES if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='/ioncube/ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the site administrator.');exit(199); ?> 4+oV5ArXTrzOoakHCTZYVBkBSFZ6/E91jpy/ky08QYPmSKUamPVz0fCXZQ1wwTqgU/WqGR6HBiNh lR0a2WpQR1EkJmeN0fbaKka+1cJfS3QkLM4WkeN/gXYKbJwA4oipmdcidOOnDGsdTRvGIYIoMTks KWn8CupUfbFroN8iSm1FMJEhPjq1SYPonb9UMwvH1+yhy/58oYLbXzIEEIqPyie1LhvHLDLi69/P iMECVRziz10hgsAvRT19lB4CY8OmEPL01DPC6njLOgG145qarnME8LAoFUS5yHBxtmr7rIfV0rVo rhwKEnPBizlpMPn9CvZEPaYeguxwuHsT72N9TB6A/fGa0o28UfcTzinWi7kp8t1qYZJs3izqyRx8 jsMRmSqjlgUqOYPOGW== So it encrypted my .php...cool
big.provider: ioncube and the like use a server side PHP extension to do the decoding. Not a problem so long as you know that your client's host has the right extension...
hi, So how does ioncube works, first you need to have the .exe that encrypts a your .php file. On your server, you will install on what they call loader who reads the encrypted file, you will add a line to your apache (edit php.ini) pointing to your loader. Now the apache can interprete encrypted .php files. Try there demo version tnx, mike