Username:
Password:
Remember me:
Register

Back to forum: Web Programming (HTML, JS, CSS, PHP, MySQL)


Search forums via Google


0 Users appreciate this thread.

[PROJECT] Official SessLogin Thread
Started by CoolApps
(2014-08-26 14:54:01)
CoolApps (2014-08-26 14:54:01)
Hey guys, I have not too long ago created a little project I always wanted to do.
Name: SessLogin
Version: v1.0
As the name suggests, this is a bunch of scripts that simply allows you to login WITHOUT a SQL database of any kind and it uses sessions, basically your login info is within a configuration file.
These are configurable scripts, controlled by one configuration file.
What's so special about this you ask? Well, you can enable, disable, and change options in the configuration to fit how the files are laid out in your file system (AKA html directory).

FEATURES IN CONFIG FILE:
- Hashing: Hash cryptography type, enable/disable warnings, choose if you want hashing or not
- Path changes: You can change the paths to make it work
- Sessions: Change the session names


DISCLAIMER : I'm not responsible for any break-ins, you downloaded and am wanting to use it, I'm not the one putting the gun point to your head.
If you blame me for anything then I will just laugh.

If you do want to change how the scripts work, modify it yourself. I have already done my part.


In what situations can you use this you ask?
Well, you can use it for content which you would like to "keep secret".

You can freely modify the script and redistribute it BUT there are exclusions, those will be located in the login file (first index.php file found in the ZIP file).

I may update it again at some point with more things.
Please note that it was intentional to not have valid HTML and no CSS (apart from the red text) so it would be much easier to modify, so please don't complain about it looking so bad.

Requirements:
- Knowledge of *SOME* PHP (makes it easier for modifying, readability, and avoid errors)
- Something to run the site on (WAMP/Apache/LiteSpeed/Web host...)
- What you are hosting the files on MUST have PHP 5.0+ installed
- A text editor designed for coding (can see minor errors that accidentally occur)

Q&A:

Q: I've saw the hashing warning, what do I do?
A: What you can do is either set $hash to True (recommended) or you can set $hash_warn to False.

Q: How do you change the cryptographic hash type?
A: Change the $hashtype string "sha256" to something else, I strongly recommend leaving it on the hash it is set to use by default, but it's your choice. As it says in the comment part of it, please try avoiding MD5, SHA1 or anything which can be easily cracked.

Q: I have tried disabling hashing/warnings but they're not working.
A: Make sure there is no singular or double quotes surrounding the True or False; this is very important!

Q: What is the default username and password?
A: Both are 'Admin'.

Q: After changing things around; I've got errors; I blame you!!1
A: Before release, I've fully tested this and got no errors. Since YOU'VE modified it, YOU have most likely caused an error so I would look at the error to see what could be possibly causing it (sometimes can be misleading) and use a text editor which can help with displaying code for finding and fixing the error. DO NOT USE NOTEPAD (Microsoft).

Changelog:

v1.0:
Initial release

v1.1:
Fixes for newer PHP versions (more compliant with the PHP standards).


Download link:
http://andreca.tk/sesslogin/SessLogin_v1.1.zip

This post has been edited one or more times, the last time was:
2014-09-12 04:04:49

Newer account: NodePoint
joemckellar20 (2014-08-26 16:59:58)
Downloads i hate download jack up my Computer and WiFi
CoolApps (2014-08-26 17:10:16)
Can't do anything about it then. The codes are pretty large to put up on the thread and I had to make it very easy to get it set up.
Newer account: NodePoint
(Capt.)Orb (2014-08-26 18:49:47)
Well, no need to actually read your thread as I saw you code it on TV but anyway, nice script !
Aviation fact: The a380 is the largest commerical aircraft in service!

Go to Splashiverse! Splashiverse
CoolApps (2014-08-26 18:57:08)
Thanks.
Newer account: NodePoint
~Justin~ (2014-09-02 18:42:43)
Nice Apps. Btw long time no talk~JustinC
 

Log in to submit a comment

This topic's ID: 75857

Back to forum: Web Programming (HTML, JS, CSS, PHP, MySQL)




Total registered users: 8321
New registered users today: 7
Newest registered user: ElegantVulpes

©  Copyright 2026 3DSPlaza. All Rights Reserved