Possible _GET and _POST var inversion in editpics.php Possible _GET and _POST var inversion in editpics.php
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Possible _GET and _POST var inversion in editpics.php

Started by sjordan, April 06, 2006, 04:13:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sjordan

Lines 32 and 33 of editpics.php in CPG 1.4.4 contain the lines


} elseif (isset($_GET['album'])) {
        $album_id = (int)$_POST['album'];


Wondering whether they should read ...


} elseif (isset($_POST['album'])) {
        $album_id = (int)$_POST['album'];
CODE]