Joe Harman wrote:
Hey Andrew...
IN MY OPINION... forget the cookies... only use php sessions... but
like I said IMO you can never rely on the end user having them
cookies enabled... same with things like javascript...
let me outline some steps for you... everyone else... feel free to
state
Tom,
That's a great tip!
Joe
On Wed, 26 Jan 2005 10:03:31 +, Tom [EMAIL PROTECTED] wrote:
Joe Harman wrote:
Hey Andrew...
IN MY OPINION... forget the cookies... only use php sessions... but
like I said IMO you can never rely on the end user having them
cookies enabled... same
[snip]
I need a particular type log in script. I'm not sure how to do it
or
where I could find a tutorial that would help me, so I'll describe what
I need
and then maybe someone could tell me what kind of script I need
(sessions or
whatever) and where I could get the script/learn how to
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
on Tuesday, January 25, 2005 2:46 PM said:
I need a pretty basic log in script. Something that people log in
to, and the page and all linked/related pages cannot be accessed
unless the person has logged in. So what do I need for this?
Cookies,
On Wednesday 26 January 2005 06:58, Chris W. Parker wrote:
The basic idea for restricting access goes like this:
A value is set in a cookie on the clients machine if the user
successfully authenticates. The website will not allow access to the
page(s) unless this value is found.
No what it
On Tue, 2005-01-25 at 16:45, [EMAIL PROTECTED] wrote:
Hey,
I need a particular type log in script. I'm not sure how to do it or
where I could find a tutorial that would help me, so I'll describe what I
need
and then maybe someone could tell me what kind of script I need (sessions or
[EMAIL PROTECTED] wrote:
Hey,
I need a particular type log in script. I'm not sure how to do it
or
where I could find a tutorial that would help me, so I'll describe what I
need
and then maybe someone could tell me what kind of script I need (sessions
or
whatever) and where I could
Hey Andrew...
IN MY OPINION... forget the cookies... only use php sessions... but
like I said IMO you can never rely on the end user having them
cookies enabled... same with things like javascript...
let me outline some steps for you... everyone else... feel free to
state pros and cons to
Joe Harman mailto:[EMAIL PROTECTED]
on Tuesday, January 25, 2005 4:23 PM said:
IN MY OPINION... forget the cookies... only use php sessions... but
like I said IMO you can never rely on the end user having them
cookies enabled... same with things like javascript...
Well, I don't think
These ideas are great and all, but I'm a real PHP newb so I have some
questions.
It was that I should look for the user in the database that stores the
access info Could I just use an array for that? Or does it have to be MySQL or
something.
$_Session['user_id']= (who) - Does that just add
Some quick answers for you are, no it does not have to be a database
that holds the authentication information. For one of my projects its
just a global array that holds the information.
You also don't have to use sessions to do anything. Cookies are fine as
you have been told before.
Every
11 matches
Mail list logo