Page 1 of 1

How to skip the comparison table?

PostPosted: Fri May 18, 2012 12:06 am
by asktod
I've tried just re-coding the comparison-table.php to auto redirect to the continuation of the page. But I failed.

Re: How to skip the comparison table?

PostPosted: Sat May 19, 2012 5:32 pm
by SamEA
Open ./download.php and remove the following code:
Code: Select all
if (isset($_GET['del']) || $_SESSION['emailactcheck'] == "ok" || $_SESSION['user'] == "admin" || isset($_POST['pass']) || $_SESSION['randno'] == $_POST['access'] && isset($_SESSION['randno'])){
unset($_SESSION['randno']);


and

Code: Select all
}else{
$_SESSION['randno'] = md5(rand(1,100));
   $fop =  fopen('./files/' .$_GET['file'] .'.dfh', 'r');
   $foundfile = fread($fop, '999');
   fclose($fop);
   $foundfile = explode("|", $foundfile);
?>
<p align="center"><b><?php echo $lang[downloadattempt];?> <?php echo $foundfile[1];?></b></p>
<?php
include ('./styles/'.$style.'/comparison_table.php');
include('footer.php');
}

Re: How to skip the comparison table?

PostPosted: Sun May 20, 2012 3:08 pm
by asktod
Thank you! I also have another question in earlier post.