RE: [PHP] How to protect JavaScript?

2002-01-16 Thread Bart Brinkmann
This would only be true if your javascript files were parsed with php. If not, then php can't do anything about it of course. Look into mod_rewrite. I haven't used it in the sense that you're looking for, but I don't see why you couldn't. http://httpd.apache.org/docs-2.0/misc/rewriteguide.html

Re: [PHP] How to protect JavaScript?

2002-01-16 Thread Martin Thoma
Hi Bart, I think it's the same problem as with php: You could only protect it, when a HTTP_REFERRER is send (which Netscape does not do): Description: Assume we have under http://www.quux-corp.de/~quux/ some pages with inlined GIF graphics. These graphics are nice, so others directly

RE: [PHP] How to protect JavaScript?

2002-01-16 Thread Bart Brinkmann
the primer above, it's pretty straght-forward. /bart -Original Message- From: Martin Thoma [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 9:47 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] How to protect JavaScript? Hi Bart, thanx for your answer. This would only be true

Re: [PHP] How to protect JavaScript?

2002-01-16 Thread Martin Thoma
Hi Bart, thanx for your answer. This would only be true if your javascript files were parsed with php.If not, then php can't do anything about it of course. This is possible, I tried it out. Look into mod_rewrite. I haven't used it in the sense that you're looking for, but I don't see why