Does any1 know this?

  • Thread starter Thread starter Deleted member 58846
  • Start date Start date

Deleted member 58846

Deleted member 58846

Basically I need the code to allow me to do the following.

For Example
www.thisdomain.com/index.php?=download1 [This till take you to download1]
www.thisdomain.com/index.php?=download2 [This till take you to download2]
e.t.c

Does anybody know the code to allow this to happen. I need the code to be able to be used in html or ssi because im just hosting a few files on my isp server so it does not support php.

If you know what this is called please shout up or show me some code to allow me to do this.

Thankyou in advanced. zen62619
 
you could have something like:

somewebsite.com/index.php?download=1

and in the code

if($download == 1){
readfile("/downloads/file1.zip");
}elseif($download == 2){
readfile("/downloads/file2.zip");
}

**untested**

edit: actually read the first post fully :o

edit2: Search google for 'force download' and it might help :)
 
Last edited:
Back
Top Bottom