Hey,
I've got 2 server, both having the same authentication scripts and using the
same database. My problems are:
1.: User logs in on server1 - trys to use a part of the site which is
physically located on server2 - has to login again on server2
2.: There is a wiki on server2, which also depends
On Fri, 2009-03-06 at 10:09 +0100, Edmund Hertle wrote:
The only method which possibly could work and came to my mind was using
somehow $_GET parameter for username and password (encrypted).
Set a cookie and crypt that (RC4 works well) and then check for the
cookie on both sites. Kind of like
On Fri, Mar 6, 2009 at 5:14 PM, Paul Scott psc...@uwc.ac.za wrote:
On Fri, 2009-03-06 at 10:09 +0100, Edmund Hertle wrote:
The only method which possibly could work and came to my mind was using
somehow $_GET parameter for username and password (encrypted).
Set a cookie and crypt that (RC4
Edmund Hertle wrote:
Hey,
I've got 2 server, both having the same authentication scripts and using the
same database. My problems are:
1.: User logs in on server1 - trys to use a part of the site which is
physically located on server2 - has to login again on server2
2.: There is a wiki on
Hi,
i'm sure that it's a stupid question but i would like to have your feedback
on it.
i have MySQL with 2 users in the mysql database which are root and
uimmense.
i suppose that what i see in the password field is the sha1 crypted
password.
is it correct or not ?
but lets continue...
in
i do not see really realistic if everytime that a new user is
registered to
my application, i have to create him a profile for MySQL database.
Is there a reason you need to have each user login into mysql individually?
Most often a single login is used for the script to log into the
[snip]
i'm sure that it's a stupid question but i would like to have your
feedback
on it.
i have MySQL with 2 users in the mysql database which are root and
uimmense.
i suppose that what i see in the password field is the sha1 crypted
password.
is it correct or not ?
but lets continue...
in
in fact no.
i can i have 1 MySQL database system profile uimmense to connect to
database.
and after via a PHP script to check if my user is registered into MY
database immense (checking profile and password).
if it's ok, so query or stored procedure can be executed, if not, connect to
DB is
On Tue, April 11, 2006 10:31 am, Alain Roger wrote:
i have MySQL with 2 users in the mysql database which are root and
uimmense.
i suppose that what i see in the password field is the sha1 crypted
password.
is it correct or not ?
It could be SHA1, or it could be something else...
It *IS*
--- Jeff McKeon [EMAIL PROTECTED] wrote:
$_SESSION['userid'] = $userid;
$_SESSION['userpassword'] = $userpassword;
[snip]
Anything look wrong or insecure with all of this?
The only thing that catches my attention is your assignments
for $_SESSION['userid'] and
--- Jeff McKeon [EMAIL PROTECTED] wrote:
Well both variables $userid and $userpassword are bounced off of a
user database table, if the username/password don't match then the
session variables are cleared with a session_destroy() call. Is that
a good enough validation?
Yes, as long as you
Ok,
I've got the user authentication thing down and now I'm continuing to
build my trouble ticket tracking system.
So from a customer profile page there is a link to Open Ticket which
brings up a page to open a trouble ticket.
[html code]
Subject: RE: [PHP] User authentication
--- Jeff McKeon [EMAIL PROTECTED] wrote:
Well both variables $userid and $userpassword are bounced off of a
user database table, if the username/password don't match then the
session variables are cleared with a session_destroy()
call
I guess you would either need to make the vars global or else keep
redeclaring them. Obviously, redeclaring them in each function
$var=$_GET[whatever] is technically the more secure method.
Kris
Jeff McKeon wrote:
Ok,
I've got the user authentication thing down and now I'm continuing to
--- Jeff McKeon [EMAIL PROTECTED] wrote:
The problem I'm having is with the $_GET variables. I guess I'm not
declaring them correctly. Do I need to set them as soon as the page
loads, and outside of any functions like so..
[code start]
$custid = $_GET['custid'];
$custname =
['vesselid']' order
by Status DESC, Created ASC;
[code end]
Jeff
-Original Message-
From: Chris Shiflett [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 3:45 PM
To: Jeff McKeon; php
Subject: Re: [PHP] User Authentication Continued
--- Jeff McKeon [EMAIL PROTECTED
--- Jeff McKeon [EMAIL PROTECTED] wrote:
$query=SELECT * from tickets where VesselID='$_GET['vesselid']'
order by Status DESC, Created ASC;
$query = select * from tickets where vesselid = '{$_GET['vesselid']}'
order by status desc, created asc;
Note the curly braces.
Hope that
On Fri, 2003-10-03 at 16:44, Jeff McKeon wrote:
Actually, here's the problem I get with using global variables in a
mysql_query string..
[error begin]
PHP Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE,
expecting T_STRING or T_VARIABLE or T_NUM_STRING
[error end]
[code
* Thus wrote Jeff McKeon ([EMAIL PROTECTED]):
Actually, here's the problem I get with using global variables in a
mysql_query string..
[error begin]
PHP Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE,
expecting T_STRING or T_VARIABLE or T_NUM_STRING
[error end]
[code
One more mystery solved.
Thanks one and all
Jeff
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 4:55 PM
To: Jeff McKeon
Cc: PHP-General; [EMAIL PROTECTED]
Subject: RE: [PHP] User Authentication Continued
On Fri
--- Jeff McKeon [EMAIL PROTECTED] wrote:
$query=SELECT * from tickets where VesselID='$_GET['vesselid']'
order by Status DESC, Created ASC;
$query = select * from tickets where vesselid = '{$_GET['vesselid']}'
order by status desc, created asc;
Note the curly braces.
I am
Good advice! Thanks!
Jeff
-Original Message-
From: Chris Shiflett [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 5:19 PM
To: Jeff McKeon; php
Subject: RE: [PHP] User Authentication Continued
--- Jeff McKeon [EMAIL PROTECTED] wrote:
$query=SELECT * from
Hey all,
I'm building a website that will pull data from mysql db. No problem
there. I've got a page to create users and store their info in a user
table on another db. What I want to be able to do is have a user log in
and then only have access to view information that his profile allows.
Hi,
I'm not quite sure how to do this however so I'm looking for advise to
point me in the right direction. I suspect, that once validated via the
login page, I need to store the users permissions in a session variable
and then before each page loads, check to see if the page's permission
up or refer to
session variables?
Thank,
Jeff
-Original Message-
From: Dan Joseph [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2003 11:15 AM
To: php
Subject: RE: [PHP] User authentication
Hi,
I'm not quite sure how to do this however so I'm looking
for advise
Hi,
That's great help and exactly what I'd like to do timeouts and all. I
now just need to figure out he mechanics of the code for it and get a
better understanding of sessions. I'm thinking in the user table I'll
have a bunch of boolean fields for different permissions that apply to
Hi,
How do you check for idle? I suppose there is a built in variable that
you check against the value in the table. How do I pull up or refer to
session variables?
Additionally, I also check to see if the date_out column in my sessions
table is -00-00 00:00:00, if not, I boot
Thanks for the advise! It's a big help.
I'll go play now and come back with more intelligent questions later!
Jeff
-Original Message-
From: Dan Joseph [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2003 11:32 AM
To: Jeff McKeon; Dan Joseph; php
Subject: RE: [PHP] User
What is stored in the date_out column? Is that one of the colums in
your own created table or a standard one?
Jeff
-Original Message-
From: Dan Joseph [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2003 11:34 AM
To: php
Subject: RE: [PHP] User authentication
Hi
* Thus wrote Dan Joseph ([EMAIL PROTECTED]):
Hi,
That's great help and exactly what I'd like to do timeouts and all. I
now just need to figure out he mechanics of the code for it and get a
better understanding of sessions. I'm thinking in the user table I'll
have a bunch of boolean
Hi,
What is stored in the date_out column? Is that one of the colums in
your own created table or a standard one?
That's the SQL table that I use to track sessions. Its one I created. I
have a functon that does a simple SQL query:
SELECT date_out FROM sessions WHERE user_id
:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2003 11:39 AM
To: php
Subject: RE: [PHP] User authentication
Hi,
What is stored in the date_out column? Is that one of the
colums in
your own created table or a standard one?
That's the SQL table that I use to track sessions
Hi,
The problem is that the $_SESSION['userid'] doesn't return anything on
this page..
Am I not calling the session variable correctly or not storing it
correctly?
In my php.ini I have globals turned off. Does this effect it?
Hi, yeah, its my understanding (and someone can correct
On 02 October 2003 17:27, Jeff McKeon wrote:
Ok,
I've got a login page that has these funtions to set the userid and
password to session variables
[code start]
session_start();
if(!isset($userid)) {
login_form();
exit;
}
else {
Hi,
(1) I don't see a session_start() on the second page (unless it's in
register_functions.php?).
Old habbits die hard. You have no idea how many times I forget to put this
at the top of a page. Thanks for pointing that out.
-Dan Joseph
--
PHP General Mailing List
On 02 October 2003 17:27, Jeff McKeon wrote:
Ok,
I've got a login page that has these funtions to set the userid and
password to session variables
[code start]
session_start();
if(!isset($userid)) {
login_form();
exit;
}
else {
On Friday 03 October 2003 01:50, Jeff McKeon wrote:
(2) I would advise not mixing $_SESSION and
session_register() -- it's problematical in some situations.
Just stick to using the $_SESSION array.
I'm not quite sure what you mean here, can you give an example or
elaborate. Sorry, real
Hi,
What is stored in the date_out column? Is that one of the
colums in
your own created table or a standard one?
That's the SQL table that I use to track sessions. Its
one I created. I have a functon that does a simple SQL query:
SELECT date_out FROM sessions
On Friday 03 October 2003 01:59, Jeff McKeon wrote:
So when a user logs in you write a user_id and datestamp to a field in
your sessions table. Every time the person accesses a page you update
the datestamp in that record. Then you run a function that checks every
X minutes if the timestamp
Hi,
So when a user logs in you write a user_id and datestamp to a field in
your sessions table. Every time the person accesses a page you update
the datestamp in that record. Then you run a function that checks every
X minutes if the timestamp is older than X minutes and if so you log the
Hi,
(2) I would advise not mixing $_SESSION and
session_register() -- it's problematical in some situations.
Just stick to using the $_SESSION array.
I'm not quite sure what you mean here, can you give an example or
elaborate. Sorry, real newbie here... :o)
$_SESSION['userid']
for those of you who are writing apps and looking at this and you have
customers adding things to their session such as a cart or something else
and you destroy the session the information that they were keeping in their
session would be lost so if you dont want pissed off customers calling
includepunctuation;
Jeff
-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2003 2:36 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] User authentication
for those of you who are writing apps and looking at this and
you have
Hi,
(2) I would advise not mixing $_SESSION and
session_register() -- it's problematical in some situations. Just
stick to using the $_SESSION array.
I'm not quite sure what you mean here, can you give an example or
elaborate. Sorry, real newbie here... :o)
Hi,
Then when any new page loads it first checks to see if the user has a
CanEdit value of 1, if not it boots them back to the page they came
from, if so it runs a query to check their idle timestamp and subtrack
it from the current unixtimestamp to find the difference. If it's
greater than
--- Jeff McKeon [EMAIL PROTECTED] wrote:
$_SESSION['userid'] = $userid;
$_SESSION['userpassword'] = $userpassword;
[snip]
Anything look wrong or insecure with all of this?
The only thing that catches my attention is your assignments for
$_SESSION['userid'] and $_SESSION['userpassword']. I
Hi,
Using the following code I am able to authenticate which type of user is
visiting my page, however if I try to log in again with a different type of
user the session variables still assume that the original user was logged
in, is there a way to reset the session variables, I have tried
--- shaun [EMAIL PROTECTED] wrote:
Using the following code I am able to authenticate which type of user is
visiting my page, however if I try to log in again with a different type of
user the session variables still assume that the original user was logged
in, is there a way to reset the
Chris Shiflett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
--- shaun [EMAIL PROTECTED] wrote:
Using the following code I am able to authenticate which type of user is
visiting my page, however if I try to log in again with a different type
of
user the session variables still
use:
$_SESSION['ses_name'] = 'something';
$_SESSION['ses_pass'] = 'something';
$_SESSION['ses_level'] = 'something';
instead of:
session_register(ses_name);
session_register(ses_pass);
session_register(ses_level);
All $_SESSION entries are automatically registered.
See the following for more
--- shaun [EMAIL PROTECTED] wrote:
...
$ses_name = $suser_name;
$ses_pass = $suser_password;
$ses_level = $stype_level;
session_register(ses_name);
session_register(ses_pass);
session_register(ses_level);
This is the moment where you lose your new
i have changed the code to:
Olinux [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
use:
$_SESSION['ses_name'] = 'something';
$_SESSION['ses_pass'] = 'something';
$_SESSION['ses_level'] = 'something';
instead of:
session_register(ses_name);
session_register(ses_pass);
i have changed the code to:
//register the session variables
$_SESSION['ses_name'] = mysql_result($result, 0, User_Name);
$_SESSION['ses_pass'] = mysql_result($result, 0, User_Password);
$_SESSION['ses_level'] = mysql_result($result, 0, User_Type);
but if i try to log in again the session
, 2002 10:36 PM
Subject: Re: [PHP] PHP: User Authentication Script
...hello .. Mr.Anthony Ritter ..
Actually I have faced the same problem with you but right now I can fix it
.
What you must do is :
1. Turn off your Apache Web Server
2. Edit your httpd.conf file from folder conf under Apache
..
- Original Message -
From: Farianto Kurniawan [EMAIL PROTECTED]
To: Anthony Ritter [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, August 26, 2002 10:36 PM
Subject: Re: [PHP] PHP: User Authentication Script
...hello .. Mr.Anthony Ritter ..
Actually I have faced
or database security.
hope this helps,
Warren Vail
Tools, Metrics Quality Processes
-Original Message-
From: Anthony Ritter [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 26, 2002 8:02 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP: User Authentication Script
In my
phpinfo()
I get:
php
Using Apache / Windows 98 / PHP / mySQL
The following script is from Julie Meloni's book PHP Essentials
(PrimaTech) on page 138.
I've copied the script from her site and tried to run it and get the
following:
Internal Server Error
The server encountered an internal error or misconfiguration
: User Authentication Script
Using Apache / Windows 98 / PHP / mySQL
The following script is from Julie Meloni's book PHP Essentials
(PrimaTech) on page 138.
I've copied the script from her site and tried to run it and get the
following:
Internal Server Error
The server encountered an internal
' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, August 26, 2002 7:49 PM
Subject: RE: [PHP] PHP: User Authentication Script
What does your apache server log say?
Warren Vail
Tools, Metrics Quality Processes
(415) 667-7814
Pager (877) 774-9891
215 Fremont 02-658
: [PHP] PHP: User Authentication Script
Thanks for the reply Warren.
It says...
[Mon Aug 26 20:46:13 2002] [error] [client 127.0.0.1] malformed header from
script. Bad header=HTTP/1.0 401 Unauthorized: c:/php4/php.exe
...
- Original Message -
From: Vail, Warren
In my
phpinfo()
I get:
php version 4.0.0
Server_APICGI
..
Is this why it is not working?
If so, how does one install PHP as a module?
Please advise.
Thank you.
TR
...
Warren Vail wrote in message:
Indonesia
- Original Message -
From: Anthony Ritter [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 27, 2002 10:01 AM
Subject: Re: [PHP] PHP: User Authentication Script
In my
phpinfo()
I get:
php version 4.0.0
Server_APICGI
Hi, I need to authenticate users on an included page on my website, but the
problem is, I cant get it to work.
view it included at http://members.lycos.co.uk/ajohnh/ (Source at
http://members.lycos.co.uk/ajohnh/source/index.txt)
the actual file:
Hi, I need to authenticate users on an included page on my website, but the
problem is, I cant get it to work.
view it included at http://members.lycos.co.uk/ajohnh/ (Source at
http://members.lycos.co.uk/ajohnh/source/index.txt)
the actual file:
Hey guys,
What is the best way for user authentication (now i'm talking about the
most secure and easiest way).
Now i've been using sessions, and i was wondering if cookies were better
and easier...
any thoughts?
thanks,
Jule
--
Jule Slootbeek
[EMAIL PROTECTED]
http://blindtheory.cjb.net
Sessions use cookies as it is...so what do you really want to do...what
do you want to protect?
---John Holmes...
-Original Message-
From: Jule Slootbeek [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 9:49 PM
To: php-general
Subject: [PHP] User Authentication
Hey guys
or post of each page.
Regards
Jarrad Kabral
-Original Message-
From: John Holmes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 5 June 2002 11:48 AM
To: [EMAIL PROTECTED]; 'php-general'
Subject: RE: [PHP] User Authentication
Sessions use cookies as it is...so what do you really want to do
John Holmes wrote:
Sessions use cookies as it is...so what do you really want to do...what
do you want to protect?
---John Holmes...
Oh ok, that explains it then...
Well thanks for the info anyway. I was basically just wondering which
method was reccommended..
Jule
--
Jule
Hi Jule:
On Tue, Jun 04, 2002 at 09:48:36PM -0400, Jule Slootbeek wrote:
What is the best way for user authentication (now i'm talking about the
most secure and easiest way).
Now i've been using sessions, and i was wondering if cookies were better
and easier...
Regardless of what you do,
On Wednesday 05 June 2002 10:05, Analysis Solutions wrote:
Hi Jule:
On Tue, Jun 04, 2002 at 09:48:36PM -0400, Jule Slootbeek wrote:
What is the best way for user authentication (now i'm talking about the
most secure and easiest way).
Now i've been using sessions, and i was wondering if
Hi, I had a question on user authentication/member accounts.
I have built a MySQL database with users and passwords, and I wrote this
code:
html
headtitleLOGIN IN PROGRESS/title/head
?php
mysql_connect(HOST, USER, PASS);
mysql_select_db(DB);
body bgcolor = white
h2PLEASE LOG IN/h2
form
On Saturday 30 March 2002 02:24, Omland Christopher m wrote:
So this will work it regonizes a real user vs. a fake on I do. But I don't
understand whats to stop someone from directly linking to a protected
page? For example why couldn't someone just go directly to
./about.php.
You're
PROTECTED]]
Sent: Friday, March 29, 2002 10:25 AM
To: Rouvas Stathis
Cc: Kevin Stone; 'Justin French'; 'php'
Subject: [PHP] User Authentication
Hi, I had a question on user authentication/member accounts.
I have built a MySQL database with users and passwords, and I wrote this
code:
html
on 12/16/01 12:58 PM, Daniel Grace at [EMAIL PROTECTED] wrote:
Anyways, though the 401 part works and actually brings up the typical Enter
Username/Password box, $PHP_AUTH_USER and $PHP_AUTH_PW are not being set.
There are no .htaccess files in the directory (or any parent dirs for that
Paul Burney [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
on 12/16/01 12:58 PM, Daniel Grace at [EMAIL PROTECTED] wrote:
Anyways, though the 401 part works and actually brings up the typical
Enter
Username/Password box, $PHP_AUTH_USER and $PHP_AUTH_PW are
Hello,
I'm working on a website for what will eventually be free
PHP/MySQL/Apache/DNS/etc hosting (see: http://hosting.venura.net , no
requests for accounts will be entertained right now), and am having problems
trying to get HTTP Authentication working. I had it working a month or so
ago, but
Hi,
Can anyone recommend a good place on the web to learn about user
authentication.
I want users of my site to login with a username password - once they are
logged in they can see information customised to each separate user.
Without being logged in the won't see any valuable information.
http://www.google.com/search?q=php+mysql+user+authenticationbtnG=Google+Search
First hit's a winner :)
Damien Burke wrote:
Hi,
Can anyone recommend a good place on the web to learn about user
authentication.
I want users of my site to login with a username password - once they are
Caveat: Don't forget to escape user input before sending to SQL. Those samples leave
that part to your imagination. Bad guys might take advantage of that :)
http://www.google.com/search?q=php+mysql+user+authenticationb
tnG=Google+Search
First hit's a winner :)
--
PHP General
I found a lot of scripts which regarding this user authentication.
But most of them are using mysql for their userlist
What if I got a server which have users in it, and I want to reuse the
same list of users and password in the server.
What should I do ?
Thankyou
Jian An
--
PHP General
Hi,
do aonyone know of any comprehensive tutorial for user authentication
session managment with php4 sessions and mysql? Preferably with some sort of
code examples?
I have tried searching the larger code libraries but haven´t found anything
that suits me (the ones i actually got interested in
On Mon, Oct 29, 2001 at 04:54:37PM -0700, Johnson, Kirk wrote:
Thanks for the link, Kurt. Can you also point to any authentication code
examples, or further discussion? The user comments in the manual suggest
there are at least a couple ways to code stuff, ldap_compare vs ldap_bind.
Any
PROTECTED]]
Sent: Wednesday, October 31, 2001 3:06 AM
To: Johnson, Kirk
Cc: PHP General List
Subject: Re: [PHP] User Authentication against remote authentication
serve r [ LDAP ]
On Mon, Oct 29, 2001 at 04:54:37PM -0700, Johnson, Kirk wrote:
Thanks for the link, Kurt. Can you also point
sorry, this might be a little bit off the topic, but I really hope you could help
anwering this question.
It's pretty clear how to use web server to authenticate the users/groups, for
example, if we are using Apache, the userID and password will be stored in the
browser's cache, and be
-CZZ010 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 29, 2001 4:39 PM
Subject: [PHP] User Authentication against remote authentication server
sorry, this might be a little bit off the topic, but I really hope you
could help anwering this question.
It's pretty clear how
However, if the authentication server is not the web server, instead,
it is a remote independent server. How can we manage the user
authentications at the web server side?
Use LDAP.
http://www.php.net/manual/en/ref.ldap.php
--
PHP General Mailing List (http://www.php.net/)
To
-
From: Kurt Lieber [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 29, 2001 3:58 PM
To: PHP General List
Subject: Re: [PHP] User Authentication against remote authentication
server [ LDAP ]
However, if the authentication server is not the web
server, instead,
it is a remote independent
Hi,
With most of my scripts, when I am about to write something, I have it in my
head on how to do it exactly.. But with only 1 login per user at anytime, I
havent found any good ways to do it,
All I can think of is to set a mysql field called ³logged_in² to ³1² or ³0²
if logged in or not, but
Hi there:
We have this functionality built into our core framework
with our custom session handling. The basic premise is that you don't
store a
1/0 in a 'logged in' flag, but store the session key with the username.
When someone logs in, assign their session key to that username. The
Hello,
I set up a user-auth script that checks $PHP_AUTH_USER $PHP_AUTH_PW
against a db with login/pwd information, but on the server my site is hosted
this doens't work because PHP runns as cgi.
How do I do this with PHP running as a cgi?
Thanks in advance.
Regards
Bart
--
PHP General
Hi all,
Is there a way in php4 to authenticate a user against the system
passwords?
I have to write a php program to handle student assignment submissions.
These users need to authenticated against an winnt PDC.
Samba has a package called winbind that will let me map the pdc's
usernames and
Does anyone know of a good user authentication/sessions
tutorial for php 4? I've looked through the ones at phpbuilder
and they are not quite as in-depth as I would like.
Jerry Lake- [EMAIL PROTECTED]
Interface Engineering Technician
Europa Communications - http://www.europa.com
try :
http://www.zend.com/zend/tut/authentication.php
regards,
philip
On Wed, 9 May 2001, Jerry Lake wrote:
Does anyone know of a good user authentication/sessions
tutorial for php 4? I've looked through the ones at phpbuilder
and they are not quite as in-depth as I would like.
Jerry
uot;User Database\"");
Header("HTTP/1.0 401 Unauthorized");
echo "You did not supply proper credentials and are therefore denied
login\n";
exit;
}
}
?
-Original Message-
From: Amer Alhabsi [mailto:[EMAIL PROTECTED]
Hi,
I'm trying to use an authentication method I found in a tutorial in the
net. The server prompts for username/password. But if I enter the hard coded
values (or any other values) the server rejects them with a message
authorization failed.
I use PHP 4 as a module on IIS
Thanks very much
95 matches
Mail list logo