Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
<html> <head> <title>Palmer Corp.</title> <p>By checking the form below and clicking submit, I agree that I am over the age of 18 (eighteen) and checking little circle things is <i>legal</i> in my country.</p> <input type="radio" name="age" value="I am of age." <?php if ($_POST['age']=="By checking this I agree that...") { echo 'checked'; } ?>> <br /> <br /> <?php if (isset($submitted)) { //form submit code here } else { ?> <form method="POST" action="killed_by"> <input type="submit" name="submitted" value="*Death*"></form> <?php } // end of form ?> <!-- Why are you viewing the page source for such a simple webpage?! You must really have no life... --> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> Created by Palmer Corp.™ (2009) on <a href="http://bluefish.openoffice.nl/">Bluefish</a> HTML editor. </body> </html>
This paste will be private.
From the Design Piracy series on my blog: