Re: protecting web page
| From: | Gerben | Date: | Wed, 05 May 2004 17:28:01 +0000 |
| Subject: | Re: protecting web page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185455@lists.php.net to get a copy of this message | ||
The best I can do is the following which would protects from printing, but
you should check cause not all browsers support css the way they should.
<html>
<head>
<style media="print">
body{display:none;}
</style>
</head>
<body>
</body>
</html>
greetings
<mserra@gdwd.com> wrote in message
news:2238.62.34.101.252.1083750594.squirrel@ssl0.ovh.net...
> Hi,
>
> i'm designing a web application and i want to protect my web page from
> printing and if possible want to protect source code too.
>
> Do you know any solution that can help me. I've find an application named
> HTML guard but it only work for static html pages. I need more a class or
> function to prevent for printing.
>
> Thanks for your help,
>
> Marc