General Chat
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsGeneralGeneral Chat

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old November 2nd, 2003, 12:42 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
Encoding my PHP code

Should I be encoding my PHP code to stop it being stolen?
If so how do I go about it?

Reply With Quote
  #2  
Old November 2nd, 2003, 08:07 AM
CodeKadiya CodeKadiya is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Colombo,Sri Lanka
Posts: 2,313 CodeKadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to CodeKadiya
RE: Encoding my PHP code

huh! No how can it be stolen??? : Have you ever heard of PHP script get stolen?

PHP is a server side scripting language and it never meets the web browser of the user. So then, anyone cannot view it's source by anyway. You do not need to hide the code manually.... Only client-side scripts can be seen by users. That's it! Hope I'm clear! No need to worry about stoling PHP scripts :laugh:

Reply With Quote
  #3  
Old November 2nd, 2003, 10:06 AM
Andrew's Avatar
Andrew Andrew is offline
Moderator
Click here for more information. Click here for more information
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,945 Andrew User rank is Private First Class (20 - 50 Reputation Level)Andrew User rank is Private First Class (20 - 50 Reputation Level)  Folding Points: 2429 Folding Title: Novice Folder
Time spent in forums: 4 Days 5 h 58 m 47 sec
Reputation Power: 3
RE: Encoding my PHP code

yes i agree but if it is a form you are refering to it is possible to insert executable code which COULD reveal the source code of the script.
But to prevent that you would use php to filter out any executable code. But you dont hear much about php source codes being stolen.

Reply With Quote
  #4  
Old November 2nd, 2003, 08:50 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: Encoding my PHP code

Depends on what the form does. But I highly doubt it.

If you are passing a variable to the system() or exec() functions then I would use the escapeshellcmd()

Reply With Quote
  #5  
Old November 3rd, 2003, 07:57 AM
nazly nazly is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Colombo,SriLanka
Posts: 1,325 nazly User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 18 sec
Reputation Power: 3
Send a message via Yahoo to nazly
RE: Encoding my PHP code

Normally PHP codes are encoded when it comes to Commercial PHP Application. Also when developers distribute PHP Applications.

Reply With Quote
  #6  
Old November 12th, 2003, 05:11 PM
Andrew's Avatar
Andrew Andrew is offline
Moderator
Click here for more information. Click here for more information
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,945 Andrew User rank is Private First Class (20 - 50 Reputation Level)Andrew User rank is Private First Class (20 - 50 Reputation Level)  Folding Points: 2429 Folding Title: Novice Folder
Time spent in forums: 4 Days 5 h 58 m 47 sec
Reputation Power: 3
RE: Encoding my PHP code

If you should encode i think depends on what you are using the script for. If you are storing top secret material then i would encode it to the full. Because php is generally secure in itself, i wouldnt normally do much encoding. But thats just me.

Reply With Quote
Reply

Viewing: Codewalkers ForumsGeneralGeneral Chat > Encoding my PHP code


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT