473,387 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

PHP Authentication (centos)

Hi,

I'm trying to authenticate with php, which seems to work, but when it redirects it still pops up and asks for the information again. I was hoping to have it entered via form instead of pop-up.

Its probably something simple, there is a sample of the script I am using in this thread.

http://bytes.com/topic/php/answers/8...d-stored#links
Jun 2 '09 #1
5 1515
Markus
6,050 Expert 4TB
Do you have a question you'd like to ask? From what you posted, I do not find a question.

- mark.
Jun 2 '09 #2
The user enters information that is correct through the form. So why does it ask again via pop-up? How do I prevent the pop-up?
Jun 2 '09 #3
Markus
6,050 Expert 4TB
@DevInCode
With the little amount of information you have given, I'd hazard a guess and say: you still have the .htaccess file. You either need to delete the file, or edit it to remove the authentication.
Jun 2 '09 #4
Ok, let me start from the beginning. I really appreciate your help.

The way the site is configured now, the user access a certain part of the webpage, and they get a pop-up prompting them for user/pw. I really don't like popups so I want to get rid of it. My solution is to have them login via form. The code I am using work and forwards them to the appropriate page, but when they are forwarded the popup still comes up. But they have already entered their authentication information.

Which file are you suggesting I edit? The protected file?
Jun 2 '09 #5
Markus
6,050 Expert 4TB
The thing is, I have no idea what this 'pop up' is - it sounds like it is being done (the authetication) via a .htaccess file. If this is the case, you can just open the .htaccess file (it may be a hidden file, so un-hide it ;), and edit the authentication part of it. Otherwise, you'll have to figure out what is causing this pop up, because, without access to your server, all I (we) can do is guess.

- mark
Jun 2 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: rbt | last post by:
Not really a Python question, but I thought some on this list may be able to answer.... so here goes: I have several machines on which I must install CentOS. There are many updates to CentOS and...
3
by: John Smith | last post by:
Can someone please help me build php with mysql support on CentOS. Have installed MySql and that works okay. I have downloaded the latest version of php and tried to build it but I keep getting...
1
by: rich | last post by:
I want to upgrade php 4.3.9 and postgresql 7.4.13 on Centos 4.3 to php 5.1.4 and postgresql 8.1.4 using rpms. Has anyone done this?
2
by: Andy K | last post by:
Hi I would like to know if it is possible to install UDB / DB2 on CentOs. TIA. Andy
0
by: nat | last post by:
Hi guys, I'm running CentOS 4.4 and the current version on my system is Python 2.3.4. Ideally I wanted to use an RPM to update the system python but a lot of dependencies failed and since I...
0
by: Chen Yang | last post by:
Hi all, I have been working on this problem for two days, any suggestion would be very appreciated. I am installing Tomcat5 on CentOS 4.2 with the following instructions:...
8
by: MacRules | last post by:
In office, I can have RedHat AS 4.0. And I like to configure a DB2 for home lab system. Which one is better OpenSuse 10.3 or CentOS?
4
by: coolsti | last post by:
I am not sure if this post belongs here in PHP or under Linux. I have an application at work running both on Centos 4.5 and on a Debian PC. For both of these, an authentication of a user is made...
1
by: F. | last post by:
Hello, I have problems making python on CentOS 5. Seems that can not find something. I can not find the problem. Where is the problem?
3
by: Brendan | last post by:
The current CentOs Linux distro includes python 2.4.3. I need to install a more recent version but I am worried about breaking CentOs python dependencies. Is it safe to install python 2.6 using pup?
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.