Reply
header( 'WWW-Authenticate: Basic realm="Admin"') Help!!
Old 02-21-2005, 11:33 PM header( 'WWW-Authenticate: Basic realm="Admin"') Help!!
Junior Talker

Posts: 3
Hello,
Right now I'm using IIS on XP Pro. Everytime I do a header( 'WWW-Authenticate: Basic realm="Admin"' ); and I try and use it to log in, the popup window adds my computer name\inputted username to the username field. When I try to verify it against my users database it doesnt work. However, when I create a form on a page, it works fine. Also, when I try it on a Linux server, it works perfectly. I think its IIS. I havent tried Apache on windows yet though. Theres enough things wrong with IIS, and I am using the same php version on the linux server as on my XP machine, so I am assuming. Basically I'm using my windows server as a testing server, so I dont want to upload every time i need to test something so I want it to work! without changing anything. Thanks for any and all help.
sven4077 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 02-22-2005, 05:47 AM
amw_drizz's Avatar
Ultra Talker

Posts: 301
Name: Jon
Location: New York
first of all IIS on XP PRO requires alot of modding the IIS system to allow it. what you are better of doing is getting Apache from http://httpd.apache.org/download.cgi you best bet is to get apache_2.0.53-win32-x86-no_ssl.msi as it will have a ease of use installer to install it with. you can download the binarys and compile them your self if you want to.

then you are going to need to get php 4 or 5 what ever you choose. I still use 4 as it has MySQL built in 5 does not. read the install instructions on installing php on apache! as you need to edit httpd.conf or httpd.txt (unsure what name it is from windows to linux ) and i use 1.3 on my win xp pro machine.


go from there then report back to us.

I know for sure that using IIS on xp pro is a pain in the a$% as i have tried it and it kills your system for anything else be sure to UNINSTALL everything related to IIS or php. MySQL is okay to leave. you must uninstall IIS and php before you install apache. dont worry your files stay behind as windows leaves the inetpub folder were your files are at.
__________________
AMW_Drizz
Php 5.2 Mysql 4.1 IIS 6 Win2k3 Server && PHP 5.2 MySQL 4.1 Apache 2.2 (separate machine of course)
amw_drizz is offline
Reply With Quote
View Public Profile Visit amw_drizz's homepage!
 
Old 02-23-2005, 07:07 PM
Junior Talker

Posts: 3
Wow, IIS a pain in the a$$? No... Cant be, its only written by Microsoft, it cant be that bad. lol. I figured that was the problem. I shall try Apache out, D/L right now. I have been meaning to anyways, actually. IIS has pised me off for the last time. Thanks for the input, I will report back after I installed it.

Last edited by sven4077 : 02-23-2005 at 07:20 PM.
sven4077 is offline
Reply With Quote
View Public Profile
 
Old 02-23-2005, 07:20 PM
Gaffer Sports's Avatar
Ultra Talker

Posts: 397
Name: Steve
Location: Scotland
Apache is the way to go in my honest opinion. I test all my sites code on a local test machine, using XP Pro and Apache. It is the best way to go if your server is linux and apache.

There are several packages out there that are one click installers, if it is the thought of installation that concerns you. Try googling "APPSERV". In my opinion that is the best package for auto install. It will install apache, php and mysql, along with phpmyadmin.

Steve.
__________________
Media Help & Discussion
Gaffer Sports is offline
Reply With Quote
View Public Profile Visit Gaffer Sports's homepage!
 
Old 02-23-2005, 08:25 PM
Junior Talker

Posts: 3
Ok, well now I remember why I dont use Apache on my computer; it sucks up CPU, times out all the time, and rarely runs scripts perfectly, no matter how I have it set up. Which is confusing because Apache is like 100x better than IIS. Since I'm mostly an optimist, I believe that if I can get my scripts to run on IIS perfectly without any errors, and its secure, then I have made a masterpiece, lol. Thanks for you input.
sven4077 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to header( 'WWW-Authenticate: Basic realm="Admin"') Help!!
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12614 seconds with 12 queries