Direct Google Drive Download with Details - PHP Script

mei2020

Active member
Nov 23, 2020
181
29
28
Upload to your web root.
Still the same errors..

Upload all of this in 1 root folder u means?
allin.png

EDIT:
Solved ! Thanks for reminding me 😊
These parts divert me before
$this_file = "/main/";
$dw_file = "/d/";
-----------------------
$this_file = "/d/";
$main_file = "/main/";

Solutions:
*Leave the directory in its default state/ structure
*Use main domain root or subdomain root directory

If you're planning to host the file into subdir instead domain or subdomain just edit these part by adding /subdir.
$this_file = "/subdir/main/";
$dw_file = "/subdir/d/";
-----------------------
$this_file = "/subdir/d/";
$main_file = "/subdir/main/";
Note:
*Not nedded to edit the .htaccess rule
 
Last edited:

Prabowo

Well-known member
Trusted Uploader
Mar 20, 2019
1,209
936
113
Jamban
www.non.e
Still the same errors..

Upload all of this in 1 root folder u means?
allin.png

EDIT:
Solved ! Thanks for reminding me 😊
These parts divert me before
$this_file = "/main/";
$dw_file = "/d/";
-----------------------
$this_file = "/d/";
$main_file = "/main/";

Solutions:
Leave the directory in its default state/ structure
Great
 

mei2020

Active member
Nov 23, 2020
181
29
28
But can it working on subdir rather than using root dir on main domain or root dir on subdomain?

modify into something like this
domain.com/gdl/

domain.com/gdl/d/$this_file.$id/download
$domain.'/gdl/'.$this_file.$id.'/download'

Im tried to change it but not works if changed into subdir
 
Last edited:

Prabowo

Well-known member
Trusted Uploader
Mar 20, 2019
1,209
936
113
Jamban
www.non.e
But can it working on subdir rather than using root dir on main domain or root dir on subdomain?

modify into something like this
domain.com/gdl/

domain.com/gdl/d/$this_file.$id/download
$domain.'/gdl/'.$this_file.$id.'/download'

Im tried to change it but not works if changed into subdir
Try to edit .htaccess
 

NewBee

New member
Nov 28, 2020
12
0
1
appsekay.com
Still the same errors..

Upload all of this in 1 root folder u means?
allin.png

EDIT:
Solved ! Thanks for reminding me 😊
These parts divert me before
$this_file = "/main/";
$dw_file = "/d/";
-----------------------
$this_file = "/d/";
$main_file = "/main/";

Solutions:
*Leave the directory in its default state/ structure
*Use main domain root or subdomain root directory

If you're planning to host the file into subdir instead domain or subdomain just edit these part by adding /subdir.
$this_file = "/subdir/main/";
$dw_file = "/subdir/d/";
-----------------------
$this_file = "/subdir/d/";
$main_file = "/subdir/main/";
Note:
*Not nedded to edit the .htaccess rule
Hey bro please help me
 

NewBee

New member
Nov 28, 2020
12
0
1
appsekay.com
Maybe u have connection probs, mine works perfectly
No bro. Everything went smoothly but when I downloaded it it got an error. Seperti ini link : Drive.appsekay.my.id

Is the code size below changed?
 

Attachments

  • Screenshot_20210215-162950_Brave.png
    Screenshot_20210215-162950_Brave.png
    471 KB · Views: 9
  • Screenshot_20210215-163333498.jpg
    Screenshot_20210215-163333498.jpg
    400.9 KB · Views: 8

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu