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 > "protecting PHP scripts" is kind of close to this, one problem....no > sessions can be used at all. > > The above is my idea in the rough......would anyone care to extend on it? > just plain comments also welcome. > > Thanks, > Ryan > > -- > PHP General Mailing List (http://www.php.net/ ) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- lukebarker@xxxxxxxxx battez@xxxxxxxx http://www.battez.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php