Current location: Hot Scripts Forums » Programming Languages » PHP » protecting code in PHP


protecting code in PHP

Reply
  #1 (permalink)  
Old 09-02-03, 02:11 AM
ckb ckb is offline
New Member
 
Join Date: Sep 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy protecting code in PHP

Subject: Protecting Code in PHP
hi all,

how to protect my code in PHP? i put my code in public domain and i don't want to

anybody to open the code ...it's on Linux any a person who got right only can

open..but i don't even want to take that takes place. i know there are so many

encoders available i can encode the code with that....but i want to know whether

any mechanism is available with PHP itself so taht it can decode the encoded code

by itself... pls help me..
thanx in advance
ckb


I can't give the server's admin the right to

see the content of the file, so.. it would be better for it to be encripted.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 09-02-03, 06:56 AM
Jerome Jerome is offline
Wannabe Coder
 
Join Date: Jun 2003
Location: On Earth
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
PHP coding can't be stolen. The PHP script is actually a command scripting given to the server and the server will generate the HTML Coding to be visible in the browser. Soon, it is absolutely NOT possible for Viewer to steal the code unless they access by FTP as they don't have access to the server script ...

IF you are talking about FTP , then try using another FTP account
__________________
Support me by clicking ads
@ http://atomise.blogspot.com
CHEERS
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 09-02-03, 03:12 PM
ermau's Avatar
ermau ermau is offline
Wannabe Coder
 
Join Date: Aug 2003
Location: Florida, USA
Posts: 240
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally posted by GOD
[editted: see original post]
The point is a user viewing the php file on the server (typing in the url in the address block) that it wont output any PHP code.

BTW, you should really change your name, that can be fairly offensive to people... one of which being me.
__________________
PHP / mySQL Developer

Last edited by Stefan; 11-25-03 at 03:59 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 09-02-03, 11:51 PM
ckb ckb is offline
New Member
 
Join Date: Sep 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
hi ,


i know php code can'be stolen from seeing thru browser , but i don't want to see the code by another person also who got ftp account on server....(like exe of a program or fmx files in oracle)
is ther any way in php itself other than using zend encoder or something like that?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 09-03-03, 06:35 AM
ermau's Avatar
ermau ermau is offline
Wannabe Coder
 
Join Date: Aug 2003
Location: Florida, USA
Posts: 240
Thanks: 0
Thanked 0 Times in 0 Posts
Can't think of any off the top of my head, but I know have seen competitors for Zend. Haven't seen any that are free, most are fairly expensive.
__________________
PHP / mySQL Developer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 09-05-03, 07:23 AM
Jerome Jerome is offline
Wannabe Coder
 
Join Date: Jun 2003
Location: On Earth
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
hi

Zend Encoder is too expensive to those setting up personal site.

It is usually for those commericial scripting site and of course , will be like those highly secured ones ...

so, you can just relax about it ... anyway i am interested to know know you can actually steal PHP script , GOD , can you explain to us ?
__________________
Support me by clicking ads
@ http://atomise.blogspot.com
CHEERS
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #7 (permalink)  
Old 09-05-03, 02:24 PM
ermau's Avatar
ermau ermau is offline
Wannabe Coder
 
Join Date: Aug 2003
Location: Florida, USA
Posts: 240
Thanks: 0
Thanked 0 Times in 0 Posts
Only way you could is if you have access to the FTP server, otherwise it's impossible. Period.
__________________
PHP / mySQL Developer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #8 (permalink)  
Old 09-05-03, 09:46 PM
united-hosts united-hosts is offline
New Member
 
Join Date: Aug 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
thank you alot Jerome for this information ... by the way i think Zend Encoder too big to upload in my site & like Jerome say it is too expensive .
i hope some one give us a small script to Protection php files
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #9 (permalink)  
Old 09-05-03, 11:12 PM
YourPHPPro's Avatar
YourPHPPro YourPHPPro is offline
Community VIP
 
Join Date: Aug 2003
Posts: 430
Thanks: 0
Thanked 0 Times in 0 Posts
Try this:

http://www.ioncube.com/online_encoder.php

Quote:
The ionCube online encoding service is a unique alternative to purchasing an encoder. Encoding costs from as little as just US $0.50 per job, and is ideal for users with modest or occasional encoding needs. The online encoder has the same important features of security and runtime performance as found in our standalone encoder product, and you can use the online encoder to:

Encode a single file.
Encode an archive containing PHP scripts and any other file types.
Make FREE test encodings or a pay-to-download encoding.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #10 (permalink)  
Old 09-08-03, 09:24 AM
Jerome Jerome is offline
Wannabe Coder
 
Join Date: Jun 2003
Location: On Earth
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
you are welcome, united-hosts

anyway , that ioncube PHP Encoding seem interesting

thks for the link
__________________
Support me by clicking ads
@ http://atomise.blogspot.com
CHEERS
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP code to edit a text file mdhall Script Requests 12 12-23-10 05:03 AM
PHPCode.Org - PHP Code Submission Database Dana General Advertisements 8 11-29-06 10:04 PM
Generate PHP code Automatically vramesh PHP 9 08-16-04 12:41 PM
code for creating sub domain in php majumder_sanjay Script Requests 0 09-04-03 07:50 AM
Perl code : print "." x 20; - How to do it with PHP ? kevin PHP 2 07-04-03 05:29 AM


All times are GMT -5. The time now is 08:43 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.