RE: [PHP] read only?

From: Date: Thu, 23 Aug 2007 10:47:52 +0000
Subject: RE: [PHP] read only?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-261157@lists.php.net to get a copy of this message
> Is there a simple php way to make a webpage read-only, please? Webpages are already read only. Well, read only in the browser. There is nothing to prevent the user from saving the page and altering to their hearts content. Did you mean to ask if there was a simple way to make a *form* read only? If so, you can simply add the 'readonly' attribute to the form elements (although, that won't work with select boxes, radio buttons or checkboxes, I believe). Also, you can look into PEAR's QuickForm; it has a Freeze Form and Freeze Element feature. thnx, Chris

« previous php.general (#261157) next »