You can attempt to protect your code with Zend guard or a couple other utilities. I believe theres also some php obfuscation utilities out there - consult google. Ultimately though, even with compiled code you will never stop someone who wants to see your code, decompilers are commonplace. As mentioned in a previous response, a clear cut contract is your best bet here (especially since things like zend guard require additional software, which will in turn decrease performance). On Thu, Feb 21, 2008 at 12:07 PM, Andrés Robinet <agrobinet@xxxxxxxxxxxxx> wrote: > > -----Original Message----- > > From: Richard Lynch [mailto:ceo@xxxxxxxxx] > > Sent: Thursday, February 21, 2008 11:36 AM > > To: Allan Fernandes > > Cc: php-general@xxxxxxxxxxxxx > > Subject: Re: [PHP] All Survey leading to PHP > > > > On Thu, February 21, 2008 6:29 am, Allan Fernandes wrote: > > > 1) Is there any method to protect source code of my applications even > > > when > > > deployed at the clients Server. > > > > Have a good, clear contract and relationship with the client. > > > > You can also attempt to "encode" them with any number of PHP encoders, > > all of which have been and can be cracked by a determined user. > > > > > 2) Can I call Delphi Dll's > > > > You may be able to use COM objects. > > http://php.net/com > > > > -- > > Some people have a "gift" link here. > > Know what I want? > > I want you to buy a CD from some indie artist. > > http://cdbaby.com/from/lynch > > Yeah, I get a buck. So? > > > > -- > > I assume you will be deploying your applications on a windows server, > right? > Otherwise, COM is NOT an option (probably .Net is ???). > > Just curious, why would you want to call a Delphi DLL (which is no > different > than any DLL)? > Just curious (x2) has anybody tried Delphi 4 PHP > (http://www.codegear.com/products/delphi/php)? > > As a Delphi fan... if you are moving to PHP development, I'd say you > forget all > you know about Delphi (or .Net for that matter) except the very generic > programming and OOP concepts. > > If you plan to target Linux... forget about DLLs. However, if you will > always > use your own server for deployment, you could try *migrating* your > existing > codebase as a set of modules and cgi programs (I don't know, it depends on > what > you are trying to do). Check out Freepascal (http://www.freepascal.org/). > > Anyway, if you are deploying PHP web applications for *all* OSs, you'd > better > off forgetting about Delphi and get good tutorials/courses/books on PHP. > And if > you want a Delphi-like IDE... be prepared for deception, only Delphi4PHP > gets > somewhere close to that (and I don't know how high are the runtime > requirements > to run PHP-VCL applications). There are very good PHP IDEs, such as Zend > Studio, > PHPDesigner, and NuSphere, etc... but forget about clicking and dragging > components on a form if that's your choice. > > Regards, > > Rob > > Andrés Robinet | Lead Developer | BESTPLACE CORPORATION > 5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL > 33308 | > TEL 954-607-4207 | FAX 954-337-2695 | > Email: info@xxxxxxxxxxxxx | MSN Chat: best@xxxxxxxxxxxxx | SKYPE: > bestplace | > Web: bestplace.biz | Web: seo-diy.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >