Forum Moderators: coopster

Message Too Old, No Replies

how to hide php code

its urgent tell me plz

         

siddiq ijiff

6:24 pm on Nov 2, 2007 (gmt 0)

10+ Year Member



how to hide php code

if any software so please give me download link too

Demaestro

6:48 pm on Nov 2, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I am confused by this?

You want to hide the PHP code from who?

Where are they accessing it?

PHP_Chimp

7:43 pm on Nov 2, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you mean that you want to hide the .php extension on the files?
Or do you want to hide the 'X-Powered-By: ' header?

Or something else?

siddiq ijiff

7:47 pm on Nov 2, 2007 (gmt 0)

10+ Year Member



i want to sale a script but dont want to allow resale thats why want to hide for example html can hide like that

<script>
<!--
document.write(unescape("%3Ctitle%3ESend%20Free%20SMS%20World%20Wide%3C/title%3E"));
//-->
</script>

ohh sorry its called Encrypt
so how to Encrypt php code

PHP_Chimp

7:59 pm on Nov 2, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That javascript isnt exactly encrypted, as it doesn't take much to work out that it is just urlencoded (especially as you could search for the unescape to see what it is reversing). So assuming that you are selling this on to people that are capable of a google search they will quickly work out the hex, oct or dec coding.

Could you just allow people to include your code from your server. That way they never see the source code? As long as you provide them with a manual as to how to access your code they dont need to see the source.

bcolflesh

8:05 pm on Nov 2, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



[zend.com...]

siddiq ijiff

8:06 pm on Nov 2, 2007 (gmt 0)

10+ Year Member



hmm good idea thX :)

Demaestro

8:21 pm on Nov 2, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



i want to sale a script but dont want to allow resale

I suggest you look at the GLP which is the license that PHP was released under.

You can sell the script but you have to release it under a GPL as well.

I don't think the GPL allows you to do what you are wanting to do.

[edited by: Demaestro at 8:21 pm (utc) on Nov. 2, 2007]

siddiq ijiff

8:32 pm on Nov 2, 2007 (gmt 0)

10+ Year Member



there is a software for that but the problem is link is not working fine :(
[zend.com...]

thecoalman

10:26 am on Nov 3, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You can sell the script but you have to release it under a GPL as well.

I believe that would be in reference if you modified PHP itself, doesn't apply to scripts you have created.