|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Malaury Smarty n00b
Joined: 25 Aug 2021 Posts: 1
|
Posted: Wed Aug 25, 2021 3:07 pm Post subject: Encoding of the html cache page |
|
|
Hi there!
I've just started testing Smarty and so far I'm very excited to implement it in a new project.
I've been using this very simple following code to "hide" the source code of my HTML pages. Yes, it's very simple but it prevents the user from reading the code without additional steps.
<Script Language="Javascript">document.write(unescape(... my HTML code for the entire page...));<script>
How can I add the code to the pages cached by Smarty?
Thanks a lot for your suggestions! |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Wed Sep 08, 2021 3:08 pm Post subject: Re: Encoding of the html cache page |
|
|
Malaury wrote: | I've just started testing Smarty and so far I'm very excited to implement it in a new project. |
Let's say you're new to web development as well as to Smarty. Which would perfectly explain the
Quote: | I've been using this very simple following code to "hide" the source code of my HTML pages. |
Please stop wasting your and our time with such exercises. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|