Retrieving download info???

All support enquiries for DFH go in here...

Re: Retrieving download info???

Postby SamEA » Sat Nov 12, 2011 7:01 am

A workaround would be to add the following code on the last line in ./header.php

Code: Select all
if ($_GET['file'] <> "" && strpos($_SERVER['PHP_SELF'], "download.php")){
   if (file_exists("./files/".$_GET['file'].".dfh")) {
   $fh1=fopen("./files/".$_GET['file'].".dfh",r);
   $foundfile= explode('|', fgets($fh1));
   fclose($fh1);
   }
}
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: Retrieving download info???

Postby test » Sun Nov 13, 2011 2:51 pm

Cool! It works!!! Awesome! Thanks!!! :)
test
Standard Member
 
Posts: 37
Joined: Tue Apr 05, 2011 1:21 pm

Re: Retrieving download info???

Postby test » Sun Nov 13, 2011 3:01 pm

Working!!! Awesome! Thanks!!! :)
test
Standard Member
 
Posts: 37
Joined: Tue Apr 05, 2011 1:21 pm

Re: Retrieving download info???

Postby SamEA » Sun Nov 13, 2011 4:38 pm

Glad to hear that :).
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

Previous

Return to Daddy's File Host v1.X

Who is online

Users browsing this forum: No registered users and 25 guests

cron