|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Encoding my PHP code
Should I be encoding my PHP code to stop it being stolen?
If so how do I go about it? |
|
#2
|
|||
|
|||
|
RE: Encoding my PHP code
huh! No how can it be 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: |
|
#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. |
|
#4
|
|||
|
|||
|
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() |
|
#5
|
|||
|
|||
|
RE: Encoding my PHP code
Normally PHP codes are encoded when it comes to Commercial PHP Application. Also when developers distribute PHP Applications.
|
|
#6
|
||||
|
||||
|
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.
|
![]() |
| Viewing: Codewalkers Forums > General > General Chat > Encoding my PHP code |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|