Hey! Thanks dude, that DOES make it harder for ther person to get to your JS code....I have seen various solutions like this like code-secure from securecents.com (although I think the article you mentioned is better) I was thinking more of a php solution, passing some variables and looking at the calling scripts etc....this way the .js file does not even get cached in the visitors/users machine... Just playing around with ideas,...this list is full of _really_ intelligent people I was hopeing someone else can build on it and maybe pool some of their ideas in on top of mine... Thanks, Ryan > http://scriptasylum.com/tutorials/encdec/encode-decode.html > is a good article on wasy to achieve this > On Thu, 28 Oct 2004 16:24:24 +0200, Ryan A <ryan@xxxxxxxxxxxx> wrote: > > > Hey, > > > I have been searching around the web for a way to "mangle" my > javascript > > > code the way some people do it to HTML/PHP etc so its not so easy to > read. > > > > > > There is no "sure" way to do it and if a person is REALLY determined to > get > > > to your code...he can, but I would like that person to go through some > extra > > > effort before he gets to it... > > > > > > the idea being to have a tag like this: > > > <script language = "JavaScript 1.2" > > > src="javascript.php?some_parameter_here"> > > > > > > if the correct $some_parameter_here (or parameters) is passed then to > output > > > the code....if it can output the code only to another php script too it > > > would be great... > > > > > > I have also been reading the doc at shiflett.org as the present question > of -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php