Re: Download System

From: Date: Fri, 09 Nov 2001 13:41:13 +0000
Subject: Re: Download System
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-10319@lists.php.net to get a copy of this message
Hi Ross, I'm sorry, would you please further explain? Kent "Ross Fleming" <r.fleming@totalise.co.uk> ¼¶¼g©ó¶l¥ó·s»D :MABBLJAPGGBPMIPHMAGBOEMECDAA.r.fleming@totalise.co.uk... > $HTTP_REFERER holds the address that the browser was referred from. This is > an apache variable that PHP has access to. > > Be aware though, that this variable should be set by the users browser, and > not all browsers do that... > > Ross > > -----Original Message----- > From: GK [mailto:great_kent@yahoo.com] > Sent: 09 November 2001 11:57 > To: php-windows@lists.php.net > 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 http://abc.domain.com/ then > allow the > user to download the file, else the user cannot access the file. I wonder if > it can be achieved by PHP? > Thanking you in advance. > > Kent > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.windows (#10319) next »