]> git.imager.perl.org - imager.git/blobdiff - samples/samp-form.cgi
avoid a possible sign-extension for offsets/sizes in SGI
[imager.git] / samples / samp-form.cgi
index 93368bc8cbfa6b9b6190618c656dcdfa2a570593..9896dceb0ef085db64ec918f6193ee2e0a9bf456 100755 (executable)
@@ -138,7 +138,7 @@ This has the advantage that you aren't handling a second potentially
 expensive CGI request to generate the image, but it means you need
 some mechanism to manage the files (for example, a cron job to delete
 old files), and you need to make some directory under the document
-root writeable by the user that your web server runs CGI programs as,
+root writable by the user that your web server runs CGI programs as,
 which may be a security concern.
 
 Also, if you're generating large numbers of large images, you may end
@@ -175,7 +175,7 @@ So limit the values and validate them:
 
   <select name="font">
     <option value="arial">Arial</option>
-    <option value="arialb.ttf">Arial Bold</option>
+    <option value="arialb">Arial Bold</option>
     ...
   </select>