Hi Ross, I'm sorry, would you please further explain? Kent
"Ross Fleming" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D :[EMAIL PROTECTED] > $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:[EMAIL PROTECTED]] > 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 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]