Improved register_globals
This commit is contained in:
parent
0e57576b94
commit
ee7bfd4685
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
|||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
if($_REQUEST['iagree'] == "yes")
|
||||
if(array_key_exists('iagree',$_REQUEST) && $_REQUEST['iagree'] == "yes")
|
||||
{
|
||||
$output_file = $fname = readlink("../tarballs/current.tar.bz2");
|
||||
|
||||
|
@ -41,7 +41,7 @@ Source Code License Terms</p>
|
|||
<pre>
|
||||
<? include("../LICENSE"); ?>
|
||||
</pre>
|
||||
<form method="post" action="<?=$PHP_SELF?>">
|
||||
<form method="post">
|
||||
<input type="checkbox" name="iagree" value="yes"> Tick this box to acknowledge you agree to these terms and conditions<br>
|
||||
<input type="submit" name="process" value="Confirm, I agree to these terms and conditions">
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue