Serious download script

Discussion about the creation of websites in general, HTML, PHP, Java.

Serious download script

Postby Pinkbyte on Sun Oct 29, 2006 12:43 pm

I want to write such script... Task is not simple(for me)... I know PHP well, but i need to write script in that way, so it must not give links on files, lying on server. It must give link such "download.php?id=someshit" and when LOGGED user use it(checking for log in i can do myself) it give him not html code but headers and content of THAT file, which user tries to download...
And of course scipts MUST NOT create files with new names and old content only for user... I do not have unlimited webspace... Smile. And i suppose that more smart decision exists...
Does anybody know how to do such script?
Pinkbyte
Contributer
Contributer
 
Posts: 49
Joined: Sun Mar 19, 2006 7:44 am
Location: Russian

Postby DjDarkman on Sun Oct 29, 2006 1:08 pm

what type of file is this for?
DjDarkman
Valued Member
Valued Member
 
Posts: 166
Joined: Wed May 24, 2006 9:14 pm

Postby Pinkbyte on Wed Nov 01, 2006 7:19 am

If you ask about language, which script will be written - this is PHP
If you ask about files, which can be downloaded by this script - this is archives(zip/rar)
Pinkbyte
Contributer
Contributer
 
Posts: 49
Joined: Sun Mar 19, 2006 7:44 am
Location: Russian

Postby Jop on Wed Nov 01, 2006 9:42 am

You want an anti-leech script.

Something like: http://www.scriptdungeon.com/script.php ... h%20Script
Jop
Contributer
Contributer
 
Posts: 46
Joined: Sun Oct 08, 2006 7:03 pm
Location: London

Postby Pinkbyte on Fri Nov 03, 2006 9:20 pm

Thank you. I will try it...
Pinkbyte
Contributer
Contributer
 
Posts: 49
Joined: Sun Mar 19, 2006 7:44 am
Location: Russian


Return to General Webmastering

Who is online

Users browsing this forum: No registered users and 1 guest

cron