I am looking at the possible security problems that have left open in my site. I am changing any $GET to $POST but i have hit a problem.
previously i had this code:
echo "<td align=middle width=33%><a href=\"javascript:loadwindow('sepack.php?parts=".$SEPACKSTRINGPARTS."&desc=".$SEPACKSTRINGDESC."',490,380)\">".$this->selectedOptions['optional'][$x]."</a></td>";
But would like to pass the two $SEPACKSTRING and $SEPACKDESC into the $_POST array to be accessed by sepack.php instead of sending a query string
therfore i have tried:
$_POST['parts'] = $SEPACKSTRINGPARTS;
$_POST['desc'] = $SEPACKSTRINGDESC;
echo "<td align=middle width=33%><a href=\"javascript:loadwindow('sepack.php',490,380)\">".$this->selectedOptions['optional'][$x]."</a></td>";
when i view sepack.php, i cannot retrieve the $_POST array data
do i need to send the data via a form to work??
any help i s much appreciated