> 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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to