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
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
>
]]
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
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