Jump to content

I need help protecting some code lines


unforgotten

Recommended Posts

Hello,

I have a template I designed and coded for php-nuke platform that I would like to give for free but the only thing is that I want the person which will download the template to not be able to alter nor delete my copyrights. My copyrights are represented as an jpg image linking to my web-site. I am not a coder I only know the basics to get me around so I would like to know if there is a way to protect that jpg image displaying my copyrights from been alter or delete.

A friend of mine suggested something like this:
[code]$keepimage = "dir/to/image/image.jpg"; [/code]

and somewhere in the footer.php file to put in a rule like

[code]if $keepimage === TRUE; { } else{ echo "THIS IMAGE IS MISSING";} [/code]

I am not a coder so I would like to know if there is a way to protect this and if so how?

There might not be a way to fully protect this as I have to give them the source code of the template so they can use it but than I would not mind at least making it harder for those regular people with not much of coding experience so they are unable to alter nor delete the copyrights on it due to their low coding knowledge.

Thanks!,
John
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.