Re: [PHP] authentication issue...

2010-05-29 Thread Jason Pruim
On May 29, 2010, at 12:02 AM, Nathan Nobbe wrote: On Fri, May 28, 2010 at 7:43 PM, Jason Pruim > wrote: Hey Everyone, So I'm sitting here on a friday night trying to figure out how in the world I'm going to fix an issue that should probably be simple to me but is escaping me at the mome

Re: [PHP] authentication issue...

2010-05-29 Thread Ashley Sheridan
On Sat, 2010-05-29 at 07:40 -0400, Floyd Resler wrote: > On May 28, 2010, at 9:43 PM, Jason Pruim wrote: > > > Hey Everyone, > > > > So I'm sitting here on a friday night trying to figure out how in > > the world I'm going to fix an issue that should probably be simple > > to me but is escapi

Re: [PHP] authentication issue...

2010-05-29 Thread Floyd Resler
On May 28, 2010, at 9:43 PM, Jason Pruim wrote: Hey Everyone, So I'm sitting here on a friday night trying to figure out how in the world I'm going to fix an issue that should probably be simple to me but is escaping me at the moment Take this authentication function: $lo

Re: [PHP] authentication issue...

2010-05-28 Thread Nathan Nobbe
On Fri, May 28, 2010 at 7:43 PM, Jason Pruim wrote: > Hey Everyone, > > So I'm sitting here on a friday night trying to figure out how in the world > I'm going to fix an issue that should probably be simple to me but is > escaping me at the moment > > Take this authentication function: > > >

[PHP] authentication issue...

2010-05-28 Thread Jason Pruim
Hey Everyone, So I'm sitting here on a friday night trying to figure out how in the world I'm going to fix an issue that should probably be simple to me but is escaping me at the moment Take this authentication function: $loginQuery = "SELECT * FROM {$cfgtableAuth} WHERE

Re: [PHP] Authentication by client certificate

2009-01-25 Thread Edmund Hertle
2009/1/23 Jesus Campos > Hi there, > > I would like to create a application that can be able to authenticate by > client certificate. > Can I make this by apache/php? Anyone can recomend me documantation? > > Thanks, > JCampos > Hey, I do not really understand w

[PHP] Authentication by client certificate

2009-01-23 Thread Jesus Campos
Hi there, I would like to create a application that can be able to authenticate by client certificate. Can I make this by apache/php? Anyone can recomend me documantation? Thanks, JCampos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] authentication verification

2008-05-29 Thread Greg Maruszeczka
On Thu, 29 May 2008 14:20:02 -0600 (MDT) "DeadTOm" <[EMAIL PROTECTED]> wrote: > So the user comes to the site and they're presented with a log in > page. They enter their username and password and php checks a mysql > database for a matching username and password. > In the case of a match, php the

Re: [PHP] authentication verification

2008-05-29 Thread Robert Cummings
On Thu, 2008-05-29 at 14:20 -0600, DeadTOm wrote: > So the user comes to the site and they're presented with a log in page. > They enter their username and password and php checks a mysql database for > a matching username and password. > In the case of a match, php then sets a cookie on their brow

[PHP] authentication verification

2008-05-29 Thread DeadTOm
So the user comes to the site and they're presented with a log in page. They enter their username and password and php checks a mysql database for a matching username and password. In the case of a match, php then sets a cookie on their browser with a value of 1 for authenticated and 0 for not auth

Re: [PHP] Authentication script working in firefox but strange results in ie7

2007-08-04 Thread Sancar Saran
Hello , Those code doesn't mean anything to client browser, you may session cookie problem. Please check php.net online manual about it. Regards Sancar On Saturday 04 August 2007 18:20:49 Brian Seymour wrote: > I mostly use Firefox but still I check to make sure everything works in IE7 > and ot

[PHP] Authentication script working in firefox but strange results in ie7

2007-08-04 Thread Brian Seymour
I mostly use Firefox but still I check to make sure everything works in IE7 and other browsers equally as well. I had strange results here. I have a simple login form(user/pass field and submit button). I have the actual login request script in a common php file. I have an Authentication class tha

Re: [PHP] Authentication

2007-07-31 Thread Nathan Nobbe
Dan, i realize i misunderstood the original question. am i to understand you have php running on all of the client machines ? thanks, -nathan On 7/31/07, Dan Shirah <[EMAIL PROTECTED]> wrote: > > Correct Stut, I want transparent authentication, but I also want to have > the > currently logged

Re: [PHP] Authentication

2007-07-31 Thread Stut
Dan Shirah wrote: Correct Stut, I want transparent authentication, but I also want to have the currently logged in user name pulled so I can use it for tracking purposes. My application deals with very sensitive company information and I want to pull the username for tracking purposes. I have

Re: [PHP] Authentication

2007-07-31 Thread Dan Shirah
Correct Stut, I want transparent authentication, but I also want to have the currently logged in user name pulled so I can use it for tracking purposes. My application deals with very sensitive company information and I want to pull the username for tracking purposes. I have everything running loca

Re: [PHP] Authentication

2007-07-29 Thread Stut
Dan Shirah wrote: I looked on PHP.net but I couldn't not find anything suitable to answer my question. Within PHP, is there a way to pull the name of the user that is currently logged into the PC? I know with some of the _SERVER functions you can pull the IP of the machine and other data, is th

Re: [PHP] Authentication

2007-07-28 Thread Richard Heyes
I looked on PHP.net but I couldn't not find anything suitable to answer my question. Within PHP, is there a way to pull the name of the user that is currently logged into the PC? I know with some of the _SERVER functions you can pull the IP of the machine and other data, is there a function with

RE: [PHP] Authentication

2007-07-27 Thread Instruct ICC
From: "Dan Shirah" <[EMAIL PROTECTED]> All, I looked on PHP.net but I couldn't not find anything suitable to answer my question. Within PHP, is there a way to pull the name of the user that is currently logged into the PC? I know with some of the _SERVER functions you can pull the IP of the m

Re: [PHP] Authentication

2007-07-27 Thread Sancar Saran
On Friday 27 July 2007 20:51:51 Dan Shirah wrote: > All, > > I looked on PHP.net but I couldn't not find anything suitable to answer my > question. > > Within PHP, is there a way to pull the name of the user that is currently > logged into the PC? > > I know with some of the _SERVER functions you c

Re: [PHP] Authentication

2007-07-27 Thread Chad Robinson
Dan Shirah wrote: My application is only used within my company. I want to pull the NT Authenticated user that is logged in, cross reference that user with what I have pulled from ldap and verify the user's name is valid. If the username is valid I will assign it to a variable and use that variab

Re: [PHP] Authentication

2007-07-27 Thread Richard Lynch
On Fri, July 27, 2007 4:02 pm, Dan Shirah wrote: > My application is only used within my company. I want to pull the NT > Authenticated user that is logged in, cross reference that user with > what I > have pulled from ldap and verify the user's name is valid. If the > username > is valid I will as

RE: [PHP] Authentication

2007-07-27 Thread Jay Blanchard
[snip] My application is only used within my company. I want to pull the NT Authenticated user that is logged in, cross reference that user with what I have pulled from ldap and verify the user's name is valid. If the username is valid I will assign it to a variable and use that variable to store t

Re: [PHP] Authentication

2007-07-27 Thread Satyam
; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "php-general" Sent: Friday, July 27, 2007 11:02 PM Subject: Re: [PHP] Authentication My application is only used within my company. I want to pull the NT Authenticated user that is logged in, cross reference that user wit

Re: [PHP] Authentication

2007-07-27 Thread Richard Lynch
On Fri, July 27, 2007 12:51 pm, Dan Shirah wrote: > I looked on PHP.net but I couldn't not find anything suitable to > answer my > question. > > Within PHP, is there a way to pull the name of the user that is > currently > logged into the PC? That data is not transmitted, by design, in an HTTP req

Re: [PHP] Authentication

2007-07-27 Thread Dan Shirah
My application is only used within my company. I want to pull the NT Authenticated user that is logged in, cross reference that user with what I have pulled from ldap and verify the user's name is valid. If the username is valid I will assign it to a variable and use that variable to store the name

Re: [PHP] Authentication

2007-07-27 Thread Jim Lucas
nt: Friday, July 27, 2007 1:51:51 PM (GMT-0500) America/New_York Subject: [PHP] Authentication All, I looked on PHP.net but I couldn't not find anything suitable to answer my question. Within PHP, is there a way to pull the name of the user that is currently logged into the PC? I know w

Re: [PHP] Authentication

2007-07-27 Thread cebesius
, 2007 1:51:51 PM (GMT-0500) America/New_York Subject: [PHP] Authentication All, I looked on PHP.net but I couldn't not find anything suitable to answer my question. Within PHP, is there a way to pull the name of the user that is currently logged into the PC? I know with some of the _SERVER functio

Re: [PHP] Authentication

2007-07-27 Thread Nathan Nobbe
on *.nix you could do something like $users = explode(' ', `users`); $users will then be an array w/ the usernames of the currently logged in users. user names may appear more than once, per the users documentation. no clue or care on windows for me :) -nathan On 7/27/07, Dan Shirah <[EMAIL PR

Re: [PHP] Authentication

2007-07-27 Thread Daniel Brown
On 7/27/07, Dan Shirah <[EMAIL PROTECTED]> wrote: > All, > > I looked on PHP.net but I couldn't not find anything suitable to answer my > question. > > Within PHP, is there a way to pull the name of the user that is currently > logged into the PC? > > I know with some of the _SERVER functions you c

[PHP] Authentication

2007-07-27 Thread Dan Shirah
All, I looked on PHP.net but I couldn't not find anything suitable to answer my question. Within PHP, is there a way to pull the name of the user that is currently logged into the PC? I know with some of the _SERVER functions you can pull the IP of the machine and other data, is there a function

Re: [PHP] authentication problem

2005-04-29 Thread Richard Lynch
On Fri, April 29, 2005 8:50 am, Yavuz S. Atmaca said: > $sql = "SELECT user_id > FROM tbl_auth_user > WHERE user_id = '$userId' AND > user_password = PASSWORD('$password')"; Did you use the PASSWORD function when you inserted your passwords, or are they just plain-text?

[PHP] authentication problem

2005-04-29 Thread Yavuz S. Atmaca
Hi all I'm trying to do authentication with database. I created the database and I inserted some usernames and passwords into my database. By using the below file, I'm trying to give access to the main page for the accounts that matches the username and password. The problem is that "it do not reco

[PHP] Authentication fails

2005-02-28 Thread John Swartzentruber
Somehow my PHP 5.0.3 or something is configured incorrectly. When I try to get past an authentication input, nothing happens. For example, I have phpMyAdmin configured now to use mysqli, but when I enter the username and password, the screen doesn't change. In previous testing, I saw that an in

Re: [PHP] authentication problem...

2004-12-30 Thread Christophe Chisogne
Ali a écrit : if ( ( !isset( $PHP_AUTH_USER )) || (!isset($PHP_AUTH_PW)) || ( $PHP_AUTH_USER != 'user' ) || ( $PHP_AUTH_PW != 'open' ) ) { Better use $_SERVER['PHP_AUTH_USER'] instead of $PHP_AUTH_USER and $_SERVER['PHP_AUTH_PW'] instead of $PHP_AUTH_PW. Chapter 33. HTTP authentication with PH

[PHP] authentication problem...

2004-12-30 Thread Ali
Hi there this is a tutorial am trying to do...chk out the code.. if ( ( !isset( $PHP_AUTH_USER )) || (!isset($PHP_AUTH_PW)) || ( $PHP_AUTH_USER != 'user' ) || ( $PHP_AUTH_PW != 'open' ) ) { header( 'WWW-Authenticate: Basic realm="Private"' ); header( 'HTTP/1.0 401 Unauthorized'

Re: [PHP] authentication

2004-12-28 Thread Zareef Ahmed
Hi Ali, Visit http://zareef.users.phpclasses.org/browse/class/21.html You will find a lot of code. zareef ahmed On Tue, 28 Dec 2004 13:12:14 +1030, Ali <[EMAIL PROTECTED]> wrote: > Hi everyone... > can anyone lead me to a good tutorial on authentication...it wud be good if > i can get a on

Re: [PHP] authentication

2004-12-27 Thread John Holmes
Ali wrote: can anyone lead me to a good tutorial on authentication...it wud be good if i can get a one in connection with a database.. $all_good = query("SELECT valid_user FROM table"); or use Google. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The

[PHP] authentication

2004-12-27 Thread Ali
Hi everyone... can anyone lead me to a good tutorial on authentication...it wud be good if i can get a one in connection with a database.. thnks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Authentication Class

2004-11-16 Thread Bruno B B Magalhães
Is this good or bad? heheh! Regards, Bruno B B Magalhaes On Nov 16, 2004, at 3:31 PM, raditha dissanayake wrote: Bruno B B Magalhães wrote: Hi guys, well, I wrote a class for a big project (a framework), and here it is, I was wondering if someone have any suggestions regarding flexibility and s

Re: [PHP] Authentication Class

2004-11-16 Thread raditha dissanayake
Bruno B B Magalhães wrote: Hi guys, well, I wrote a class for a big project (a framework), and here it is, I was wondering if someone have any suggestions regarding flexibility and security. Wow it's the most artistic piece of php i have ever seen. -- Raditha Dissanayake. --

[PHP] Authentication Class

2004-11-16 Thread Bruno B B Magalhães
Hi guys, well, I wrote a class for a big project (a framework), and here it is, I was wondering if someone have any suggestions regarding flexibility and security. Course it uses specific framework classes but it's quite understable.. ===

Re: [PHP] authentication question

2004-11-02 Thread Greg Donald
On Tue, 2 Nov 2004 13:48:30 -0500, Kelly Meeks <[EMAIL PROTECTED]> wrote: > I need to require username/password access in two distinct ways. PHP Generic Access Control Lists http://phpgacl.sourceforge.net/ -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/

[PHP] authentication question

2004-11-02 Thread Kelly Meeks
I need to require username/password access in two distinct ways. At one level, I need to protect all files except .php files within a directory structure. I can do this with htaccess using the directive. I also need to serve up database driven content via username/password at another. I'm doi

[PHP] authentication using /etc/passwd

2004-02-05 Thread Adam Williams
Hi, is there a way to authenticate a username/password someone enters in a form with what is in /etc/passwd? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] authentication comparing to /etc/passwd

2004-02-03 Thread Adam Williams
Hi, is there a PHP function or some sort of way to have a user enter their username and password in a form, and compare the username and password and see if the username exists and the password is correct? basically I want to have a page where a person enters their username and password and if

[PHP] Aproach to based PHP authentication

2004-01-28 Thread Fernando M. Maresca
Hello everybody. I think this problem there was thousands of times in this forum, as the archives shows, so you can freely ignore me if I bother you. I have little auth php base that looks like: if(cookie) authcookie(); else if($_POST[uname] && $POST[pass]) authuser(); // and sets a co

Re: [PHP] authentication problems!

2004-01-21 Thread Scott Taylor
Do you mean using $file = '/protected/file.pdf'; or using an absolute path on the server? Best Regards, Scott Subject: Re: [PHP] authentication problems! From: "Luke" <[EMAIL PROTECTED]> Date: Wed, 21 Jan 2004 14:24:11 +1100 To: [EMAIL PROTECTED] Yeah, i think i m

Re: [PHP] authentication problems!

2004-01-20 Thread Luke
Yeah, i think i mentioned the same thing(or was going to :/ ) you should be able to use the local filesystem, and reffer to it relatively! and then you can stream it and you wont need any authentication, and noone will be able to directly link to the file -- Luke "Jason Wong" <[EMAIL PROTECTED]

Re: [PHP] authentication problems!

2004-01-20 Thread Jason Wong
On Wednesday 21 January 2004 05:49, Scott Taylor wrote: Please trim your posts! > Of course there is not problem if the user is entering the information > him or her self. But just using this code: > > $file = 'http://miningstocks.com/protected/Dec03PostPress.pdf'; > > //now view

Re: [PHP] authentication problems!

2004-01-20 Thread Scott Taylor
-- Original Message -- From: Scott Taylor <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Tuesday, January 20, 2004 03:17:21 PM -0500 Subject: [PHP] authentication problems! I am about at my wits end trying to find a good solution to this problem. I've asked various portions of th

[PHP] authentication problems!

2004-01-20 Thread Scott Taylor
I am about at my wits end trying to find a good solution to this problem. I've asked various portions of this question to this mail list and still have not found exactly what it is I am looking for, but here it goes. I'm looking for a way to protect my files (this would be pdf files, image fi

RE: [PHP] Authentication

2003-12-16 Thread Robert Sossomon
Duh, OK, Now I REALLY feel stupid. With the current setup using the .htaccess files and everything I have in place all I needed to do was get the information from: $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW']. I kept thinking I had to use PHP to set those values. Thanks guys!! Works lik

RE: [PHP] Authentication

2003-12-16 Thread Chris Shiflett
--- Robert Sossomon <[EMAIL PROTECTED]> wrote: > I am not trying to authenticate off of a database though. I have > scripts that automatically modify the .htaccess file as I change a > user, so I need to authenticate off the .htaccess file and store > the users information into a cookie. I think fr

Re: [PHP] Authentication

2003-12-16 Thread Justin Patrin
statement ~~~ -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 11:53 AM To: Robert Sossomon; [EMAIL PROTECTED] Subject: Re: [PHP] Authentication --- Robert Sossomon <[EMAIL PROTECTED]> wrote: I currently use a .htaccess f

RE: [PHP] Authentication

2003-12-16 Thread Robert Sossomon
statement ~~~ -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 11:53 AM To: Robert Sossomon; [EMAIL PROTECTED] Subject: Re: [PHP] Authentication --- Robert Sossomon <[EMAIL PROTECTED]> wrote: > I currently use a .htaccess file for users to login

Re: [PHP] Authentication

2003-12-16 Thread Chris Shiflett
--- Robert Sossomon <[EMAIL PROTECTED]> wrote: > I currently use a .htaccess file for users to login, and now I need > to make some changes to how the site works. > > I need to be able to have the users login, and once that is done the > login needs to be used to pass through the database. Search

[PHP] Authentication

2003-12-16 Thread Robert Sossomon
I currently use a .htaccess file for users to login, and now I need to make some changes to how the site works. I need to be able to have the users login, and once that is done the login needs to be used to pass through the database. And to pull files from a directory as nobody seems to listen wh

Re: [PHP] apache httpd + PHP authentication

2003-10-19 Thread news.php.net
Chris Shiflett wrote: A "parser" is called every time a page is accessed. If no page is defined, the home page is loaded. Subsequent pages are linked with http://dictionary.reference.com/search?q=parser Very amusing. Okay, "dispatcher" would probably be a better name. It preps the environme

Re: [PHP] apache httpd + PHP authentication

2003-10-18 Thread Chris Shiflett
--- "news.php.net" <[EMAIL PROTECTED]> wrote: > I have a web page I wish to restrict access. I prefer to use the > standard apache httpd authentication with .htaccess and password > file. This method does not seem to work with PHP. This method is independent of the type of resource being used, so

[PHP] apache httpd + PHP authentication

2003-10-18 Thread news.php.net
Hello, httpd v1.3.27, php v4.3.0. I have a web page I wish to restrict access. I prefer to use the standard apache httpd authentication with .htaccess and password file. This method does not seem to work with PHP. A "parser" is called every time a page is accessed. If no page is defined, t

Re: [PHP] authentication variable

2003-08-30 Thread Curt Zirzow
* Thus wrote BhongOng ([EMAIL PROTECTED]): > Hi, > > I have some questions. Is it possible to pass login data such > as username and password to the HTTP Basic Authentication > dialog box from PHP? How do you code that? I know for sure with Basic authentication you can't. > > Is it also possibl

[PHP] authentication variable

2003-08-30 Thread BhongOng
Hi, I have some questions. Is it possible to pass login data such as username and password to the HTTP Basic Authentication dialog box from PHP? How do you code that? Is it also possible to get the variable data from the Authentication dialog once login? I tried putting phpinfo() in an index.php

Re: [PHP] Authentication system

2003-07-15 Thread Justin French
Doug, On Thursday, July 3, 2003, at 05:42 AM, Doug Essinger-Hileman wrote: Now I need to learn how to take the incoming message and process it. I am assuming that the processing can be done by php. Any suggestions, either on how to do this, or where I might learn how to do this? The simple versi

Re: [PHP] Authentication system

2003-07-05 Thread olinux
there's a good example in this article A Complete, Secure User Login System by Tim Perdue http://www.phpbuilder.com/columns/tim2505.php3 olinux > On 2 Jul 2003 at 13:00, Mike Migurski wrote: > > > You may find it easier to include, in the e-mail, > a > > uniquely-generated, limited-time U

Re: [PHP] Authentication system

2003-07-02 Thread Doug Essinger-Hileman
On 2 Jul 2003 at 13:00, Mike Migurski wrote: > You may find it easier to include, in the e-mail, a > uniquely-generated, limited-time URL that the person can visit to > verify that they have received the e-mail. This will remove the burden > of having to set up a system that responds to e-mail com

Re: [PHP] Authentication system

2003-07-02 Thread Mike Migurski
>At the point where they fill out the registration form, I am sending them >an email, informing them that they have been registered. On many sites >I've gone to, the process then includes a requirement that the person >reply to the message. > >Now I need to learn how to take the incoming message an

[PHP] Authentication system

2003-07-02 Thread Doug Essinger-Hileman
I am in the process of scripting a site which requires authentication. I've no problems with the scripts allowing folk to register, login, logout, change password, etc. However, this morning I've begun to work on providing some "security" in the form of preventing someone from registering as an

[PHP] Authentication: Addressing the user variable

2003-06-20 Thread Jason End
I'm using LDAP to authenticate my users. login.php and any script that requires authentication start off with the following code: -- session_start(); if (session_is_registered("valid_user")) { header( "Location: admin.php" ); -- The ldap binds as such: ldap_bind($ds, "uid=$uid,ou=people,dc=server,

Re: [PHP] Authentication

2003-03-18 Thread Erik Price
Beauford.2002 wrote: I am looking for a simple authentication script that uses MySQL. I have downloaded about 10 of them (most with no instructions on it's use), but even at that they are not what I need. The PEAR project has 7 different authentication packages, including Auth which I understand

[PHP] Authentication

2003-03-18 Thread Beauford.2002
Hi, I am looking for a simple authentication script that uses MySQL. I have downloaded about 10 of them (most with no instructions on it's use), but even at that they are not what I need. When you go to the main page of my site it will ask you to login or signup. So I want to be able to authentic

Re: [PHP] authentication question...

2003-03-02 Thread Ernest E Vogelsinger
At 07:02 02.03.2003, Sunfire said: [snip] >basic question about www-authenticate header...(least i hop its simple) >i have the code: >header("WWW-Authenticate: basic realm='a realm'"); >header("HTTP/1.0 402 Unauthorized");//dont understand >//what this line d

[PHP] authentication question...

2003-03-01 Thread Sunfire
hi basic question about www-authenticate header...(least i hop its simple) i have the code: http://www.grisoft.com). Version: 6.0.458 / Virus Database: 257 - Release Date: 2/24/2003 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] authentication headers....

2003-03-01 Thread Sunfire
how would you show a header message or basically force apache to show an error page of its own like 401 if someone hits cancle on the php auth header function? and i have a line like: header("WWW-Authenticate: basic realm='a realm name'"); //i know what that means look at next line... header("HTTP

RE: [PHP] authentication problem

2003-02-28 Thread Daniel Masson
:44 Para: [EMAIL PROTECTED] Asunto: [PHP] authentication problem Hi again, My problem was about authentication without the default popup, but with a form that submits the credentials. I still didn't get it to work, so I'd like to know if anyone has ever done anything like that. I just ca

[PHP] authentication problem

2003-02-28 Thread Oliver Witt
Hi again, My problem was about authentication without the default popup, but with a form that submits the credentials. I still didn't get it to work, so I'd like to know if anyone has ever done anything like that. I just can't get it to work right and I'd like to see a working script thx, Olive

Re: [PHP] authentication

2003-02-04 Thread Goetz Lohmann
Goetz Lohmann schrieb: > [EMAIL PROTECTED] schrieb: > >>I don't think the process is an extra step at all. In fact, it's just a >>trade off using one or the other. You can either login using php and a >>database backend or just authenticate using .htaccess directives. >> > > > > >>On Mon, 3 Fe

Re: [PHP] authentication

2003-02-04 Thread Goetz Lohmann
[EMAIL PROTECTED] schrieb: > I don't think the process is an extra step at all. In fact, it's just a > trade off using one or the other. You can either login using php and a > database backend or just authenticate using .htaccess directives. > > On Mon, 3 Feb 2003, Chris Shiflett wrote: > > >

Re: [PHP] authentication

2003-02-04 Thread ed
I don't think the process is an extra step at all. In fact, it's just a trade off using one or the other. You can either login using php and a database backend or just authenticate using .htaccess directives. In my case (a few months back) what I was trying to do was offer up a single login page

Re: [PHP] authentication

2003-02-03 Thread Philip Olson
Read this: http://www.php.net/features.http-auth Regards, Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] authentication

2003-02-03 Thread Chris Shiflett
> There is a way to supposedly do this by authenticating > a username and password through php first through such > methods as database lookups and then passing the > username and password through $PHP_AUTH_USER and > $PHP_AUTH_PW using the header() command to point to the > URL of the .htaccess pr

Re: [PHP] authentication

2003-02-03 Thread ed
I'm sorry the line should have been... header("Location:http://$PHP_AUTH_USER:$[EMAIL PROTECTED]";); Ed On Mon, 3 Feb 2003 [EMAIL PROTECTED] wrote: > > There is a way to supposedly do this by authenticating a username and > password through php first through such methods as database lookups

Re: [PHP] authentication

2003-02-03 Thread ed
There is a way to supposedly do this by authenticating a username and password through php first through such methods as database lookups and then passing the username and password through $PHP_AUTH_USER and $PHP_AUTH_PW using the header() command to point to the URL of the .htaccess protected dir

Re: [PHP] authentication

2003-02-03 Thread Chris Winters
Chris, Exactly. I am relying on the webserver to provide the restrictions. Now my next question: what functions should I utilize or come close to to do it? There isnt any PHP pages directed towards teh directory itself. Its is just a hard link to the protected areas. Are there any functions that

Re: [PHP] authentication

2003-02-03 Thread Chris Shiflett
--- Chris Winters <[EMAIL PROTECTED]> wrote: > So, if one was to protect a directory or folder, a > regular dialog will appear for username and passcode > prompt within the web browser. I was researching some > variables that I came across which is called > $PHP_AUTH_USER, $PHP_AUTH_PW, and $PHP_AU

Re: [PHP] authentication

2003-02-03 Thread Chris Winters
Sorry about that. What I meant was for example, sometimes I come across protected sites that require a username and passcode. So, if one was to protect a directory or folder, a regular dialog will appear for username and passcode prompt within the web browser. I was researching some variables that

Fw: [PHP] authentication

2003-02-03 Thread Kevin Stone
online as well. The search query "php password protect" on Google Groups yeilded 3400 results alone. Good luck, -Kevin - Original Message - From: "Chris Winters" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 10:31 AM Subject:

Re: [PHP] authentication

2003-02-03 Thread Chris Shiflett
--- Chris Winters <[EMAIL PROTECTED]> wrote: > If you by chance come across a secure area that prompts > the username and passcode to a folder Can you rephrase that? I can't tell what you are talking about. Does a separate window pop up prompting for a username and password, or is this part of the

[PHP] authentication

2003-02-03 Thread Chris Winters
I have a question that maybe someone could answer. If you by chance come across a secure area that prompts the username and passcode to a folder, how I can PHP to automagically add them in later on? Also, instead of that dialogue popping up, is there a way you can "add" your own via HTML form and

Re: [PHP] Authentication programming

2003-01-15 Thread Jordan Elver
Hi Justin, Thanks for that link, looks pretty interesting. I'll take a closer read later. Cheers, Jord -- Jordan Elver Eagles may soar high, but weasels don't get sucked into jet engines. -- David Brent (The Office) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] Authentication programming

2003-01-14 Thread Justin French
on 15/01/03 7:07 AM, Jordan Elver ([EMAIL PROTECTED]) wrote: > Hi, > I'm about to start a new project which will require a login system. The system > should allow for different types of access on a per page basis. I'm going to > achieve the login system using sessions, which I have done before. >

Re: [PHP] Authentication programming

2003-01-14 Thread Stephen
ry 14, 2003 3:07 PM Subject: [PHP] Authentication programming : Hi, : I'm about to start a new project which will require a login system. The system : should allow for different types of access on a per page basis. I'm going to : achieve the login system using sessions, which I have done b

[PHP] Authentication programming

2003-01-14 Thread Jordan Elver
Hi, I'm about to start a new project which will require a login system. The system should allow for different types of access on a per page basis. I'm going to achieve the login system using sessions, which I have done before. My problem is that I don't want to have to do much login checking on

[PHP] Authentication with PHP and HTTP

2002-11-04 Thread Phillip Erskine
I have a site that uses PHP/MySQL authentication for one section and Apache/HTTP authentication for another. Eventually I would like to use only PHP and MySQL for authenticating users, but in the meantime, I have to use both. First, users will log in to the main section of the site and I will

Re: [PHP] Authentication: HTTP or homegrown?

2002-10-15 Thread Chris Shiflett
Jackson, It really depends on what you are wanting to protect, but in most cases, it is better to use a "homegrown" solution. If you are interested in why I say this, read on ... HTTP authentication has two breeds, basic and digest. With basic, the *authentication* credentials (e.g., name and

[PHP] Authentication: HTTP or homegrown?

2002-10-15 Thread Jackson Miller
I am curious what method of authentication is preferred by people on this list. Are you using PHP scripts for authentication and limiting access, or are you using HTTP header info. Maybe it is best to use both. For my sites I usually store user info in a database and use php and sessions to aut

[PHP] Authentication on NT??

2002-09-25 Thread Per Lundkvist
Hi I have installed PHP on a Windows NT Server 4.0 and it works (almost) fine! The thing is that I get the "Enter network password" - prompt when I first go to a PHP-file. Not if I go to an ASP file. So if I just hit enter in the prompt, I get in to the PHP-page and can continue surfing. I guess

[PHP] Authentication session problem (php/server implementation?)

2002-07-24 Thread Jacob Dorman
I have a user authentication system using sessions it checks username and password against a database. if correct it sets a variable in the session cookie (via $_SESSION) and redirects to the protected page which checks for that variable. if the user/pass is wrong it redirects to an error page. if

Re: [PHP] Authentication

2002-07-08 Thread Justin French
Have a look at Kevin Yank's article on sitepoint.com called something like "restricting page access with php and mysql". It formed the basis of my user and session management. Basically, you should be re-checking your username and password on every page, so it shouldn't be too hard to extend thi

[PHP] Authentication

2002-07-08 Thread Anthony Rodriguez
Dear Richard, Again thank you for your reply. I'm sorry to keep bothering you. Please tell me when to stop. Let me explain what I'm trying to do and maybe you'll point me in the right direction. I'm developing a "paid" Web site for business courses. Some pages will be available to all visito

Re: [PHP] Authentication

2002-07-03 Thread Alberto Serra
Miguel Cruz wrote: > > I'd suggest ignoring IP altogether and focusing on other tactics. There > are just too many pitfalls in trusting IPs and too much user annoyance > possible from not trusting them. Well, the way I made it admins get emailed each every time a user gets refused because of

  1   2   >