RE: read only?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux