On Sun, 2007-05-13 at 02:05 -0500, Richard Lynch wrote:
> On Thu, May 10, 2007 2:00 pm, Robert Cummings wrote:
> > BTW, what's the point of abbreviating short words like "user" to "usr"
> > and "type" to "typ"?
>
> Mayb his 'e' ky is brokn?
Mayb his 'o' ky t sinc h shrtnd form to frm.
Prbbly h j
On Thu, May 10, 2007 2:00 pm, Robert Cummings wrote:
> BTW, what's the point of abbreviating short words like "user" to "usr"
> and "type" to "typ"?
Mayb his 'e' ky is brokn?
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.co
On Thu, May 10, 2007 1:51 pm, Armando Acosta wrote:
> Problem is, that, once the page "usr_frm.php" have been hit, the
> session variable $_SESSION["usr_type"] gets changed (unexpectedly) to
> exactly the same value passed to the script via GET variable "typ".
>
> But even worse: this code works pe
On Friday 11 May 2007 03:08, Dave Goodchild wrote:
> Another small and unrelated point - you don't need to use double quotes
> inside the array brackets - you're not processing them at all.
You seemed to have left out:
"use single quotes instead".
--
Crayon
--
PHP General Mailing List (http:/
Another small and unrelated point - you don't need to use double quotes
inside the array brackets - you're not processing them at all.
Armando;
First, you can just change these:
$id = (integer)$HTTP_GET_VARS["id"];
$usr_typ = (integer)$HTTP_GET_VARS["typ"];
to:
$id = $_GET['id'];
$usr_typ = $_GET['typ'];
Second, I see that you're using $row[] variables for your MySQL result
sets but where and how are th
On Thu, 2007-05-10 at 14:51 -0400, Armando Acosta wrote:
> Let's try to make a long story short.
>
> I realized that the server uses a different PHP configuration, specially:
> "register_globals" set to ON. I already got them to change this value to
> OFF... but this did not solve the problem.
>
Let's try to make a long story short.
I'm writing a (not too complex) system visible to authorized users only. My
users are stored in a MySQL database table with "usr_id" and "usr_typ" (user
type) among other fields.
When a user logs in, I retrieve those values from the database and store them
8 matches
Mail list logo