take the username from abyss' access control

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
sanene
-


Joined: 20 May 2004
Posts: 2

PostPosted: Thu Jul 08, 2004 6:31 am    Post subject: take the username from abyss' access control Reply with quote

hello, i am trying to create a members section in my webpage,
and i need to learn the username to be able to dynamically create the content of the page accordingly for each member.
How can i do this? can somebody help?
Back to top View user's profile Send private message
sanene
-


Joined: 20 May 2004
Posts: 2

PostPosted: Thu Jul 08, 2004 6:36 am    Post subject: Reply with quote

hi all again, it was quick but i found the answer.
it happens to be in the $PHP_AUTH_USER variable.
Sorry bothering you..
Back to top View user's profile Send private message
00squeaky
-


Joined: 11 May 2004
Posts: 60

PostPosted: Thu Jul 08, 2004 8:53 am    Post subject: Reply with quote

actually, it is much easier to do usijng a Mysql database. not only that, but your little solution will not work unless the browser is displaying their personal information. this way, you will not ave to use that PHP_authingy, but a few if($auth == 1) {'s in sensitive places.

and, what i have found, you have to use very few functions. all you really have to do to your user db is add a column called |auth|, with the values admin, or user.
_________________
Languages mastered:
HTML,GML,C,PHP,MYSQL (not really a language, but wtf)
Back to top View user's profile Send private message
kordian
-


Joined: 06 Apr 2005
Posts: 2
Location: Poland

PostPosted: Wed Apr 06, 2005 11:24 pm    Post subject: Reply with quote

sanene wrote:
hi all again, it was quick but i found the answer.
it happens to be in the $PHP_AUTH_USER variable.
Sorry bothering you..


please write how use this with login form[/img]
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group