Re: passing authorization code

From: Date: Fri, 26 Apr 2002 18:11:37 +0000
Subject: Re: passing authorization code
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-94770@lists.php.net to get a copy of this message
<delurk> wm wrote:
.htaccess file requires user and pass. anybody know how to pass this info with a script so that the user is allowed into the directory? not in the url either. not user:pass@domain.com. needs to be transparent. the reason i want to do this is so that somebody can't path directly to a .mov file, but so they can click on a link and a script can "fetch" the file from the protected directory by passing the user and pass. the file needs to be embedded in the web page.....
You could try saving a cookie? </delurk> -- Mark Gallagher

« previous php.general (#94770) next »