cvs: pearweb /include pear-format-html.php

From: Date: Thu, 07 Oct 2004 04:20:39 +0000
Subject: cvs: pearweb /include pear-format-html.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-24648@lists.php.net to get a copy of this message
danielc Thu Oct 7 00:20:39 2004 EDT Modified files: /pearweb/include pear-format-html.php Log: * Add time() to query string so browsers don't cache CAPTCHA image. http://cvs.php.net/diff.php/pearweb/include/pear-format-html.php?r1=1.152&r2=1.153&ty=u Index: pearweb/include/pear-format-html.php diff -u pearweb/include/pear-format-html.php:1.152 pearweb/include/pear-format-html.php:1.153 --- pearweb/include/pear-format-html.php:1.152 Tue Oct 5 14:41:30 2004 +++ pearweb/include/pear-format-html.php Thu Oct 7 00:20:36 2004 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: pear-format-html.php,v 1.152 2004/10/05 18:41:30 danielc Exp $ + $Id: pear-format-html.php,v 1.153 2004/10/07 04:20:36 danielc Exp $ */ PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'error_handler'); @@ -990,7 +990,8 @@ } $_SESSION['captcha_time'] = time(); } - return 'Type <img src="/captcha-image.php" alt="If you are unable to' + return 'Type <img src="/captcha-image.php?x=' . time() + . '" alt="If you are unable to' . ' read this image, click the help link to the right of' . ' the input box" align="top" /> into this box...' . ' <input type="text" size="4" maxlength="4" name="captcha" />'

« previous php.pear.cvs (#24648) next »