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

Dynamic links in an include file
I am working on a small piece of code that counts records from a database and displays the result to

php mailer
How can i send a mail to large no, say 50,000 reciepients using [color=#0000FF]php mailer[/color]

no idea what to do...
I'm fed up. I had issues with code that I have working on a different site that didn't work on my cu

ECC6 - Single sign-on
We are in the process of upgrading to ECC 6 which will support single sign on with user passwords al

Get to know your fellow coder
I think it's time we got personal around here. There's a lot of code swapping and a few members kno

Checking if a process is running (problems including psapi.dll i think...)
Ok, so all I'm trying to do is check if a program is running...

I've found out that I nee

php or sql?
Sorry not sure if this is a sql problem or php the following code is supposed to delete data from th

Pagination
Hi All,

I think I'm finally getting somewhere with pagination!

I can now submit a quer

Spaghetti Code
So.

I've pretty much reached the point where I have so many isset s on one page that I can't

Include ("Absolute Path") of a file?
I'm not sure what I'm doing wrong. I am writing my php code in the same directory of the file that

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