Re: [PHP] PHP Auth

2008-10-30 Thread Micah Gersten
Steve Marquez wrote: Greetings, What is the best way to create authentication for MySQL info displayed on PHP pages. Thanks, Best is relative. How many users do you expect? Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com -- PHP General Mailing

RE: [PHP] PHP Auth

2008-10-30 Thread Jay Blanchard
[snip] What is the best way to create authentication for MySQL info displayed on PHP pages. [/snip] I personally like the Magic MySQL Authentication thingie, but I digress. Welcome to the list Steve, it is always nice to see new faces. I fear that your question is just a little too vague

Re: [PHP] PHP Auth

2008-10-30 Thread Steve Marquez
I have a form that I use to authenticate users stored in a MySQL database. I want to be able to ensure that no body will be able to bookmark a page and be able to return to that page without authenticating. But I also want the authenticated user to be able to use all the subsequent pages

Re: [PHP] PHP Auth

2008-10-30 Thread Daniel P. Brown
On Thu, Oct 30, 2008 at 3:38 PM, Jay Blanchard [EMAIL PROTECTED] wrote: Welcome to the list Steve, it is always nice to see new faces. I fear that your question is just a little too vague though, can you be more specific about what you're trying to do? You'll find a group of very helpful and

Re: [PHP] PHP Auth

2008-10-30 Thread Daniel P. Brown
On Thu, Oct 30, 2008 at 3:41 PM, Steve Marquez [EMAIL PROTECTED] wrote: I have a form that I use to authenticate users stored in a MySQL database. I want to be able to ensure that no body will be able to bookmark a page and be able to return to that page without authenticating. But I also want

Re: [PHP] PHP Auth

2008-10-30 Thread Dan Joseph
On Thu, Oct 30, 2008 at 4:41 PM, Steve Marquez [EMAIL PROTECTED]wrote: I have a form that I use to authenticate users stored in a MySQL database. I want to be able to ensure that no body will be able to bookmark a page and be able to return to that page without authenticating. But I also want

Re: [PHP] PHP Auth

2004-05-02 Thread Burhan Khalid
Anton Krall wrote: Guys. Im doing a small php auth system and I was wondering, how can avoid having to do a form to pass the user and pw to the php scripts and just use the popup auth windows on IE and NS? do you remember the names of the vars that get passed thru that popup or how can I invoke

Re: [PHP] PHP Auth

2004-04-24 Thread Curt Zirzow
* Thus wrote Anton Krall ([EMAIL PROTECTED]): Guys. Im doing a small php auth system and I was wondering, how can avoid having to do a form to pass the user and pw to the php scripts and just use the popup auth windows on IE and NS? do you remember the names of the vars that get passed

RE: [PHP] PHP Auth

2004-04-24 Thread Anton Krall
PROTECTED] %Sent: Sábado, 24 de Abril de 2004 02:30 p.m. %To: [EMAIL PROTECTED] %Subject: Re: [PHP] PHP Auth % %* Thus wrote Anton Krall ([EMAIL PROTECTED]): % Guys. % % Im doing a small php auth system and I was wondering, how can avoid % having to do a form to pass the user and pw to the php

Re: [PHP] php auth instead of .htaccess

2003-03-18 Thread Erik Price
Bryan Koschmann - GKT wrote: Hello, I have gotten used to using .htaccess to protect files/directories, but now I am looking at a need to authenticate against mysql. I have no problem actually getting it to authenticate, but I'm wondering what the simplest way to prevent someone from hitting

Re: [PHP] PHP Auth with Apache

2002-11-14 Thread ed
I'm now understanding how you can get PHP to present you with a username and password promt just like APache would do if you had a .htaccess file in the directory you were trying to enter. Great idea but it seems that it would be easier to just use the .htaccess file in the directory. What

Re: [PHP] PHP Auth with Apache

2002-11-14 Thread BigDog
Ed, When you do auth with mysql and they succeed then u can set the $_SERVER['PHP_AUTH_USER'] and in theory that should allow you to connect to the directory because that should be set for apache http authentication. You might have to play with it, but i am sure you can get it to work. On Thu,

RE: [PHP] PHP Auth with Apache

2002-11-14 Thread Ysrael Guzmán
;venticon.com] Enviado el: Jueves, 14 de Noviembre de 2002 04:51 a.m. Para: [EMAIL PROTECTED] Asunto: Re: [PHP] PHP Auth with Apache Ed, When you do auth with mysql and they succeed then u can set the $_SERVER['PHP_AUTH_USER'] and in theory that should allow you to connect to the directory because

RE: [PHP] PHP Auth with Apache

2002-11-14 Thread Adam Voigt
: [EMAIL PROTECTED] Asunto: Re: [PHP] PHP Auth with Apache Ed, When you do auth with mysql and they succeed then u can set the $_SERVER['PHP_AUTH_USER'] and in theory that should allow you to connect to the directory because that should be set for apache http authentication. You might

Re: [PHP] PHP Auth with Apache

2002-11-14 Thread Ewout de Boer
check routine and voila ! regards, Ewout de Boer - Original Message - From: [EMAIL PROTECTED] To: Ewout de Boer [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, November 14, 2002 5:42 PM Subject: Re: [PHP] PHP Auth with Apache I'm now understanding how you can get PHP

Re: [PHP] PHP Auth with Apache

2002-11-14 Thread ed
I can set the $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] easily enough but how would you pass that information along with the redirect so apach doesn't prompt you for username and password? I have tried the header(Location http://usernam:password;URL) method and it always prompts as

Re: [PHP] PHP Auth with Apache

2002-11-14 Thread BigDog
You should use sessions for this...however, i would not store the password in the session... And verify it that way...i would probably use all sessions for this... Check sessions first and see...if not then do the mysql or apache auth... When you do sessions you can save the page they are

RE: [PHP] PHP Auth with Apache

2002-11-14 Thread Ysrael Guzmn
I have a problem, i'm new in PHP It is the problem in my browsegive me the solution please Warning: Cannot send session cache limiter - headers already sent (output started at c:\foxserv\www\t-demo1\pedidos\prod_oficina.php:5) in c:\foxserv\www\t-demo1\pedidos\prod_oficina.php on line

RE: [PHP] PHP Auth with Apache

2002-11-14 Thread BigDog
You are sending the header information to the browser before the session stuff begins... make sure that you call session_start(); right after your ?php start tag... On Thu, 2002-11-14 at 21:50, Ysrael Guzmán wrote: I have a problem, i'm new in PHP It is the problem in my browsegive me

Re: [PHP] PHP Auth with Apache

2002-11-13 Thread Marek Kilimajer
Did you use $_SERVER['PHP_AUTH_USER'] or just $PHP_AUTH_USER Alexander Bemme wrote: Hi, i got a little problem (i hope so) I have installed Apache 1.3.26 and PHP 4.2.3 as module. I used the example from www.php.net to do a PHP authentication, but it didn't work, the pop appears but i can't

Re: [PHP] PHP Auth with Apache

2002-11-13 Thread Ewout de Boer
in httpd.conf Directory /scriptdir AllowOverride AuthConfig /Directory More info at http://httpd.apache.org/docs/mod/core.html#allowoverride regards, Ewout - Original Message - From: Alexander Bemme [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 13, 2002

Re: [PHP] PHP auth... a little help :)

2001-02-08 Thread Chris Lee
This is the file I include, works for me. cookie.egn just sets the session variable 'SessionID' and database.egn just has my fetch_db_value functions. Email me if you have any more questions. http://www.php.net/manual/en/features.http-auth.php ? include_once('cookie.egn');