Basic Auth question

From: Date: Tue, 01 Jul 2003 13:51:03 +0000
Subject: Basic Auth question
Groups: php.general 
Request: Send a blank email to php-general+get-153550@lists.php.net to get a copy of this message
I have a issue with basic auth which I hope someone here can throw some light on. 1) I have already got my SESSION auth working well 2) Once someone logs in I need to send some basic auth info to a dir on another server to let my logged in user to view it. This is where I am stuck :-( I think one answer is <? If(isset($_SESSION[userokcode])){ header(Location http://username:password@http://www.domain.name/dir); } ?> Is that anyway close or have I got it the wrong way around? Any help is appreciated. Dave C --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.493 / Virus Database: 292 - Release Date: 25/06/2003

« previous php.general (#153550) next »