|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
is there a way to make the source code of a PHP script non readable (like compiling it or something similar) ?
I know an other bulletin board has it's code cripted in order to stop users from viewing or hacking it.
do you know how to do it ?
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Mar 2000
Posts: 615
Member
|
Member
Joined: Mar 2000
Posts: 615 |
not unless you have some sort of interpreter to do that, else you'd have to do it like: and you can change eval() to echo() and get the source
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
Well, there is the Zend Encoder which can compile PHP code into binary format, but I doubt that's what you're looking for considering the licensing cost.
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
thanks for your answers; I'll take a look
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
I checked the Zend website, but even with the free compiler you have to install a plugin on the server itself. what I really want to do is stop people i give the script to having access to it (inside is my login and password to my database) or maybe modify it, eventhough I am pretty sure they wouldn't be able to do it. John, would you have some more informations on how to use the eval function ? It might be enough for what I am trying to do thanks
Do you believe in love at first sight, or should I walk by again?
|
|
|
|
Joined: Mar 2000
Posts: 615
Member
|
Member
Joined: Mar 2000
Posts: 615 |
You're giving your database login to people??
If this is something they'll install on their server, just delete the username/password or change it to something like 'CHANGEME'
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
well not exactly, I am building a contact database and want these people I am going to give the script to to ba able to access it thru their own website.
I made a custom version of the script to match their design so I can't ask them to use the one I have on my site. (so they have to install the other one on their own sever)
so you see I need to leave all the database connexion info (but since it's the same than my ftp account I'd rather not let them see it)
Do you believe in love at first sight, or should I walk by again?
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|