Curious about some code

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
richsong
Posts: 8
Joined: Mon Feb 25, 2008 2:07 am

Curious about some code

Post by richsong »

In the file admin_main.php there is a section of code that begins

Code: Select all

eval(gzinflate(base64_decode(
I was curious as to what that code does and why it is there in the encrypted format.

Also, just below that particular section of code, there is some code that displays the "Check for Updates" and some related messages. I commented that out but I can't find the code for the paragraph about removing the "Powered by" link. I would like to remove that paragraph but not the actual link at the bottom. Where is that portion of code located?

I have no intention of removing the actual link at the bottom.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

That code checks if a license exists and if not prints the "Buy a license" paragraph. It's not encrypted but rather encoded a little to prevent messing up with the license code (anyone with decent PHP knowledge should have no problems decoding it though).

Removing that code will remove the "Buy a license" paragraph. However if you did the same in the footer section it would delete some other needed code as well so that one must be left.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply