NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
HTTP mode (SRV local WEB server)


Joined: 03 Oct 2006
Posts: 14
Reply with quote
Hello,

I deploy my apps to IIS but like to develop using the HTTP mode (SRV local WEB server) because of the connection limitations on IIS on XP.

There is a bug using the php application returns a header('WWW-Authenticate: Basic realm="Please enter user and password"',false) with get parameters.

The first request has the get paramters but the 2nd request with the authentication info is missing get parameters.

Thanks,

Aspen
View user's profileFind all posts by aspenoSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Could you please submit a code sample that will replicate the problem?

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Sample


Joined: 03 Oct 2006
Posts: 14
Reply with quote
I am passing in the screen parameter. If you run this on IIS screen will be set but on the built in web server it will be blank
if (!isset($_SERVER['PHP_AUTH_USER']))
{
header('WWW-Authenticate: Basic realm="Please enter user and password"',false);
header('HTTP/1.0 401 Unauthorized');
echo 'Text to send if user hits Cancel button';
exit;
}

echo "PHP_AUTH_USER " . $_SERVER['PHP_AUTH_USER'] . "<br>";
echo "SCREEN " . $_REQUEST['screen'] . "<br>";
View user's profileFind all posts by aspenoSend private message
HTTP mode (SRV local WEB server)
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic