Re: how to block a user downloading a file?

From: Date: Thu, 28 Aug 2003 08:49:21 +0000
Subject: Re: how to block a user downloading a file?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-161013@lists.php.net to get a copy of this message
fatih olcer wrote:
hi, how to block a user downloading a file? eg : when a user enter an address like
     http://localhost/downloads/testfile.cab
i want to forward him to an other address like
    http://localhost
i'm PHP newbie thanks for help. hi,
you have to use this code : <? header ("Location: http://localhost"); ?>

« previous php.general (#161013) next »