How to skip the comparison table?

All support enquiries for DFH go in here...

How to skip the comparison table?

Postby asktod » Fri May 18, 2012 12:06 am

I've tried just re-coding the comparison-table.php to auto redirect to the continuation of the page. But I failed.
asktod
Standard Member
 
Posts: 12
Joined: Wed May 02, 2012 8:57 pm

Re: How to skip the comparison table?

Postby SamEA » Sat May 19, 2012 5:32 pm

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');
}
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

Re: How to skip the comparison table?

Postby asktod » Sun May 20, 2012 3:08 pm

Thank you! I also have another question in earlier post.
asktod
Standard Member
 
Posts: 12
Joined: Wed May 02, 2012 8:57 pm


Return to Daddy's File Host v1.X

Who is online

Users browsing this forum: No registered users and 11 guests

cron