14 Replies - 1911 Views - Last Post: 01 December 2010 - 08:30 AM Rate Topic: -----

#1 mido911  Icon User is offline

  • D.I.C Head

Reputation: -3
  • View blog
  • Posts: 89
  • Joined: 29-October 10

php code hide

Posted 26 November 2010 - 05:48 AM

If I want to hide the php code(encrypt) from the client how can I do that or is there any software maybe in netbeans that enables this feature?
Is This A Good Question/Topic? 0
  • +

Replies To: php code hide

#2 Dormilich  Icon User is online

  • 痛覚残留
  • member icon

Reputation: 3541
  • View blog
  • Posts: 10,257
  • Joined: 08-June 10

Re: php code hide

Posted 26 November 2010 - 06:21 AM

if you have uploaded your code the only way to get it is when PHP is broken. youll never see any server-side code (regardless which language).
Was This Post Helpful? 0
  • +
  • -

#3 mido911  Icon User is offline

  • D.I.C Head

Reputation: -3
  • View blog
  • Posts: 89
  • Joined: 29-October 10

Re: php code hide

Posted 26 November 2010 - 06:24 AM

if the php code is broken how can I hide it from client
Was This Post Helpful? 0
  • +
  • -

#4 Dormilich  Icon User is online

  • 痛覚残留
  • member icon

Reputation: 3541
  • View blog
  • Posts: 10,257
  • Joined: 08-June 10

Re: php code hide

Posted 26 November 2010 - 06:25 AM

I don’t mean the PHP code, I mean the PHP interpreter.

broken PHP code might only issue error messages that can be used to exploit your site.

This post has been edited by Dormilich: 26 November 2010 - 06:26 AM

Was This Post Helpful? 0
  • +
  • -

#5 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6066
  • View blog
  • Posts: 23,526
  • Joined: 23-August 08

Re: php code hide

Posted 26 November 2010 - 06:26 AM

I think you're looking for something like ionCube or Zend Encoder. If I'm understanding you correctly.
Was This Post Helpful? 0
  • +
  • -

#6 mido911  Icon User is offline

  • D.I.C Head

Reputation: -3
  • View blog
  • Posts: 89
  • Joined: 29-October 10

Re: php code hide

Posted 26 November 2010 - 06:41 AM

are there any free softwares to be used?

what i mean is that i need a PHP obfuscator to hide the php code
Was This Post Helpful? 0
  • +
  • -

#7 Dormilich  Icon User is online

  • 痛覚残留
  • member icon

Reputation: 3541
  • View blog
  • Posts: 10,257
  • Joined: 08-June 10

Re: php code hide

Posted 26 November 2010 - 06:44 AM

I think you have the wrong idea about how PHP works
Was This Post Helpful? 0
  • +
  • -

#8 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6066
  • View blog
  • Posts: 23,526
  • Joined: 23-August 08

Re: php code hide

Posted 26 November 2010 - 06:47 AM

You're not communicating very well, perhaps because of a language barrier. This may be a case where seeking help in your native language is to your advantage.
Was This Post Helpful? 0
  • +
  • -

#9 grimpirate  Icon User is offline

  • Pirate King
  • member icon

Reputation: 149
  • View blog
  • Posts: 714
  • Joined: 03-August 06

Re: php code hide

Posted 26 November 2010 - 02:38 PM

Just Google PHP code obfuscation. What the OP wants to do is take his source code and scramble it so that the client he sells it to has no idea what he wrote. This, however, can still be hacked if someone really wants to.
Was This Post Helpful? 0
  • +
  • -

#10 Dormilich  Icon User is online

  • 痛覚残留
  • member icon

Reputation: 3541
  • View blog
  • Posts: 10,257
  • Joined: 08-June 10

Re: php code hide

Posted 26 November 2010 - 02:42 PM

personally, Id never buy an obfuscated script. programmers should have better things to do than obfuscate. (despite that this contradicts any programming paradigm out there)
Was This Post Helpful? 0
  • +
  • -

#11 BetaWar  Icon User is online

  • #include "soul.h"
  • member icon

Reputation: 1155
  • View blog
  • Posts: 7,170
  • Joined: 07-September 06

Re: php code hide

Posted 26 November 2010 - 02:55 PM

@Dormilich - I agree totally. If I am buying a piece of web based software it is almost always guaranteed that it doesn't do all that I want it to. I don't want to have to do any more work than necessary to add my extra functionality to it and have it up and running as needed. Besides, more obfuscators that I have seen are pretty sad when it comes to protecting code as they always have to undo whatever they have done to themselves. You put it in a sandbox and force it to show the code as it does and you will get the full contents back as it tries to run (sure it will rename variables, but that is just an annoyance).

@op - Don't worry about trying to make it harder for someone who has purchased your code to work with it. Make it easy for them to develope addons and everything else they may want to do with it and you are far more likely to have people pleased with your software and willing to purhcase other products you have. After all look at phpBB, IPB, Wordpress, and the list goes on. All of them are widely used and IPB is the only one that costs money - even then though it is easy to modify it to your needs.
Was This Post Helpful? 1
  • +
  • -

#12 mido911  Icon User is offline

  • D.I.C Head

Reputation: -3
  • View blog
  • Posts: 89
  • Joined: 29-October 10

Re: php code hide

Posted 01 December 2010 - 03:16 AM

Is there any php obfuscator that can be integrated into netbeans or eclipse whereby I can write my code and automatic obfuscation is done.
Was This Post Helpful? 0
  • +
  • -

#13 LiDoNg_9_0  Icon User is offline

  • D.I.C Head

Reputation: 10
  • View blog
  • Posts: 159
  • Joined: 03-September 09

Re: php code hide

Posted 01 December 2010 - 04:03 AM

i think there is none.,...
Was This Post Helpful? 0
  • +
  • -

#14 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6066
  • View blog
  • Posts: 23,526
  • Joined: 23-August 08

Re: php code hide

Posted 01 December 2010 - 05:09 AM

Merged into earlier topic on same subject. The answer is probably no, but did you try Google?
Was This Post Helpful? 0
  • +
  • -

#15 CTphpnwb  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 3001
  • View blog
  • Posts: 10,393
  • Joined: 08-August 08

Re: php code hide

Posted 01 December 2010 - 08:30 AM

Odds are that if they hired you to write code for them, they're not going to be able to follow what you wrote. That's why they hired you!

If you want to make it harder for them to read it, just remove all indenting and possibly even line breaks. That will discourage most people.
;)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1