I need a quick alternative to the user login and logout routine for my site. By quick I mean, simple. I am looking for an alternative way to doing this, with cookies, without SQL. Has anyone got a working example, or a good place to learn? Thanks in advance...
User login with cookies via PHP w/o SQL
Moderator: General Moderators
User login with cookies via PHP w/o SQL
Hello,
I need a quick alternative to the user login and logout routine for my site. By quick I mean, simple. I am looking for an alternative way to doing this, with cookies, without SQL. Has anyone got a working example, or a good place to learn? Thanks in advance...
I need a quick alternative to the user login and logout routine for my site. By quick I mean, simple. I am looking for an alternative way to doing this, with cookies, without SQL. Has anyone got a working example, or a good place to learn? Thanks in advance...
yeah
sounds simple... however, I have no idea what to do with PHP involved... I want to encrypt the pass and store it... but is that even safe, without SQL... I dont want to compromise my users... im just looking for an example of this being used succesfully, without SQL. Thanks
heh
can someone explain to me what I put here:
Im wondering what the normal format is, I took what it was saying the local host was xxxxxx@localhost.... but it gave me an error... db: could not connect.... thanks in advance
Code: Select all
$db_engine = 'thisisfine';
$db_user = 'thisisfine';
$db_pass = 'thisisfine';
$db_host = '????'; <-----------what do I put here
$db_name = 'thisisfine';great
I followed your link and found an md5 encrypter script, I got it working for my scenario, and am thinking about just .htpasswding the dir... but I didn't try 'localhost'... so I will, thank you for the help, I appreciate it... 