[PHP] Building Menus based on User Rights

2002-11-11 Thread Ray Seals
I would like for my pages to generate HTML code based on a users rights. For example I have a table called user and it looks like this useridpasswordadminuser -- memypassY you yourpass Y When a person logs in

Re: [PHP] Building Menus based on User Rights

2002-11-11 Thread Ray Seals
helps, I'm new to all of this and not really a programmer but I would rather learn to do it the right way than the easy way. Ray On Mon, 2002-11-11 at 12:30, Jason Wong wrote: On Tuesday 12 November 2002 02:05, Ray Seals wrote: I would like for my pages to generate HTML code based on a users

Re: [PHP] Questions on PHP Variables

2002-11-10 Thread Ray Seals
The fact that tutorials are outdated using old code is not a good reason to stick with it :) I agree totally. So I'm trying to use the $_Server variables but I continue to get this error: Parse error: parse error, expecting 'T_STRNG' or 'T_VARIABLE' or 'T_NUM_STRING' in blah, blah, blah on

[PHP] Questions on PHP Variables

2002-11-08 Thread Ray Seals
I'm running PHP 4.2.3 as an Apache Module When I try to use $PHP_AUTH_USER it returns nothing. But if I print out $_SERVER[PHP_AUTH_USER] it prints the user name I tried. All of the sample code and books that I have use the $PHP_AUTH_USER. Can anyone give me some insight on what the difference