Is it possible to hide the script from the user, so even when he chose the "View source" option, he only sees HTML and NO script. i.e. something like an include but no apparent; he would just see a reference to it ...?
Thanks !
Printable View
Is it possible to hide the script from the user, so even when he chose the "View source" option, he only sees HTML and NO script. i.e. something like an include but no apparent; he would just see a reference to it ...?
Thanks !
Code:<script language="VBScript" src="file.vbs" type="text/vbscript"></script>
Whoa fast =)
Thanks a lot dude !
I was tired of those 700 lines of code displyaing all around :D
But I can't seem to get it working : Do I have to use something special in the .vbs ?
Or just the
<!--
...Sub...
....
...
--> ???
First move all vbscript code into a file like file.vbs and then include
in the .asp file the following pice of code
<script language="VBScript" src="file.vbs" type="text/vbscript"></script>
I hope this works...
Sonia
:rolleyes: :p
That's what I did; but how is a vbs structured ?
I just cut&paste my code in but no go :\
Thanks for the help !
well it should work...as i can see.....make sure there is only functions and sub in the vbs file, no need to declare a <SCRIPT> in the file..
Sonia:o
Oh, forget it, my mistake !
[No, no, I didn't had ASP in this script - /eyeroll/]
Lol
Thanks for the help :)
Basically, it's just as a normal vb file - take out all the html / asp tags ;)Quote:
That's what I did; but how is a vbs structured ?
Um... why bother though?
This is the same as trying to prevent someone from stealing pics by disabling the right click context menus.
If I want to see the code, you can't stop me. I know where it lives. (on my machine that is hehe)