Hi there,
This is a question that i am sure many people have wondered about.
I work on lots of scripts and bits of code that end up on the internet, usually I put my name and the date in comments at the top....only saying I have written it, nothing that could be a problem legally (i.e. re-ownership), just like a painter signs their work.
However I have recently come across someone ripping my code and claiming it as their own (and it was my last boss!!).
To combat this I wrote a subroutine that lives in the common.sub library I have for all the common subroutines used on that site.
Basically having elsewhere converted a little 'written by Jez' to ASCII, the subroutine converts it back and prints it at the bottom of each dynamic page my scripts generate, but in the same color as the background so it only shows under highlight (and only i know to highlight).
This works quite nicely and is almost like the watermark effect on bank notes, but there is a problem.
The true (de-ASCII'd) writing is plain to see in the HTML source (as generated by my scripts), but then of course finding the source in my code is harder.
Is there any way to hide code in HTML or do i have to live with this.
Also I would welcome opinion on this and whether there is better ways to do it. Or even whether I should be doing this kind of thing atall. - should I just be happy in the knowledge that I could re-write any scripts I've written and the code-theif couldn't?
Cheers
Jez
;-)
This is a question that i am sure many people have wondered about.
I work on lots of scripts and bits of code that end up on the internet, usually I put my name and the date in comments at the top....only saying I have written it, nothing that could be a problem legally (i.e. re-ownership), just like a painter signs their work.
However I have recently come across someone ripping my code and claiming it as their own (and it was my last boss!!).
To combat this I wrote a subroutine that lives in the common.sub library I have for all the common subroutines used on that site.
Basically having elsewhere converted a little 'written by Jez' to ASCII, the subroutine converts it back and prints it at the bottom of each dynamic page my scripts generate, but in the same color as the background so it only shows under highlight (and only i know to highlight).
This works quite nicely and is almost like the watermark effect on bank notes, but there is a problem.
The true (de-ASCII'd) writing is plain to see in the HTML source (as generated by my scripts), but then of course finding the source in my code is harder.
Is there any way to hide code in HTML or do i have to live with this.
Also I would welcome opinion on this and whether there is better ways to do it. Or even whether I should be doing this kind of thing atall. - should I just be happy in the knowledge that I could re-write any scripts I've written and the code-theif couldn't?
Cheers
Jez
;-)