RE: [PHP-WIN] Download System

2001-11-10 Thread Ross Fleming
e."); } else { Header("Location: http://servername/$file"}; /* Where $file is passed in as a variable, choosing the filename */ } I need other peoples input please? PHP controllable downloads? Ross -Original Message- From: GK [mailto:[EMAIL PROTECTED]] Sent: 09 November 2

Re: [PHP-WIN] Download System

2001-11-09 Thread GK
aware though, that this variable should be set by the users browser, and > not all browsers do that... > > Ross > > -Original Message- > From: GK [mailto:[EMAIL PROTECTED]] > Sent: 09 November 2001 11:57 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Download System >

RE: [PHP-WIN] Download System

2001-11-09 Thread Ross Fleming
]] Sent: 09 November 2001 11:57 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Download System Hello guys, I'm running PHP on Apache on a Linux system. I would like to check where the requests come from before allowing users to download a particular file. For example, if the request comes from

[PHP-WIN] Download System

2001-11-09 Thread GK
Hello guys, I'm running PHP on Apache on a Linux system. I would like to check where the requests come from before allowing users to download a particular file. For example, if the request comes from http://abc.domain.com/ then allow the user to download the file, else the user cannot access the