php curl - Need to provide access to a protected directory using curl php curl - Need to provide access to a protected directory using curl curl curl

php curl - Need to provide access to a protected directory using curl


Are you married to using htaccess authentication? You'll have greater flexibility if you use authentication through PHP instead.

http://php.net/manual/en/features.http-auth.php