How to set pass login name from htaccess to php


Posted on 16th Feb 2014 07:03 pm by admin

When the user logs into my members page via htaccess, I'd like to retain the username so that I can call upon his account info later. Is there a way to save his user name in a cookie (or some other means)?

No comments posted yet

Your Answer:

Login to answer
194 Like 39 Dislike
Previous forums Next forums
Other forums

Quick fix: Conditional statement with an array
Hi, I'm getting the temperature value off of the Environment Canada website along with the icon file

User information
Hi All,
By using t-code SUIM we get all the user details,if suppose we donot have permission t

FTP issues
Hi all,


I am currently facing some serious problems with a script and really need some ad

question about header() security
is is safe to just use the header() function to redirect someone if they are, say, not logged in? or

dinamic "textboxes"?
Ey all, my first post here, i hope its not a hard one

I display mysql results in a table

Dynamic Array using glob?
Is there an easier way to do this?

I am trying to get create a dyamic array based on files wi

php file erros / need help please
Hello

Someone decoded a zend file for me.. after uploaded it on ftp i get some errors, i trye

timezone change with date()
so i put all my times for posts in my made from scratch forum(not phpbb3 or sm)
in my mysql db u

New to PHP and just trying to understand a little code.
I hope I'm not annoying anyone or breaking the rules but I was wondering about this bit of code righ

Array question
Does anyone know how to create a program that takes the $ amount for 8 different departments and gi

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash