Possible Duplicate:
How to protect my source code when deployed?
Can you give me some suggestions on how to secure a piece of code (credits, footer) from being removed?
It’s just a text saying “Made by”, bla bla…
If a user removes that piece of code, I want to force it back on the place or to display a warning message.
How about populating a div using javascript? Most users that will hack your theme/code won’t understand where its coming from. Try something like appending the div to your body tag so even the div isn’t written in html of your code. This might prevent a lot of efforts to remove the credits. What are you building exactly? What is the context? Is it a theme for a cms?