Improved register_globals

pull/1/head
root 16 years ago
parent 17da2d3686
commit 7c04169bdc

@ -1543,7 +1543,7 @@
if($process != "" && $oldid == 20)
{
$CSR = trim($CSR);
$CSR = trim($_REQUEST['CSR']);
$_SESSION['_config']['tmpfname'] = tempnam("/tmp", "FOO");
$fp = fopen($_SESSION['_config']['tmpfname'], "w");
fputs($fp, $CSR);

@ -452,6 +452,8 @@
function getcn2()
{
$rows=array();
$rowid=array();
for($cnc = 0; $cnc < $_SESSION['_config']['cnc']; $cnc++)
{
$CN = $_SESSION['_config']["$cnc.CN"];
@ -493,6 +495,8 @@
function getalt2()
{
$altrows=array();
$altid=array();
for($altc = 0; $altc < $_SESSION['_config']['subaltc']; $altc++)
{
$subalt = $_SESSION['_config']["$altc.subjectAltName"];

Loading…
Cancel
Save