473,505 Members | 13,904 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Login Module

I would like to create a login module using php without a mysql
backend. I'd just want to save the data in an encrypted file. Any
pointers would be helpful.
Sep 11 '08 #1
4 2280
On Thu, 11 Sep 2008 03:21:42 -0700, anush wrote:
I would like to create a login module using php without a mysql backend.
I'd just want to save the data in an encrypted file. Any pointers would
be helpful.
What have you tried so far?

You don't give any hints as where you want to start and what you already
know. Have you managed to install PHP succesfully? Do you know how to
create a form? Do you know how to read and write files in PHP? Do you
know anything about encryption?
Sep 11 '08 #2
On Sep 11, 4:18 pm, Sjoerd <sjoer...@gmail.comwrote:
On Thu, 11 Sep 2008 03:21:42 -0700, anush wrote:
I would like to create a login module using php without a mysql backend.
I'd just want to save the data in an encrypted file. Any pointers would
be helpful.

What have you tried so far?

You don't give any hints as where you want to start and what you already
know. Have you managed to install PHP succesfully? Do you know how to
create a form? Do you know how to read and write files in PHP? Do you
know anything about encryption?
Yep, I do.
-
A

Sep 11 '08 #3
On Thu, 11 Sep 2008 04:29:13 -0700, anush wrote:
>What have you tried so far?

You don't give any hints as where you want to start and what you
already know. Have you managed to install PHP succesfully? Do you know
how to create a form? Do you know how to read and write files in PHP?
Do you know anything about encryption?

Yep, I do.
I figure you are not really a talkative kind of guy.

You could store usernames and sha1 checksums of the password to a file,
one entry per line.
Sep 11 '08 #4
On Sep 11, 3:10*pm, Sjoerd <sjoer...@gmail.comwrote:
On Thu, 11 Sep 2008 04:29:13 -0700, anush wrote:
What have you tried so far?
You don't give any hints as where you want to start and what you
already know. Have you managed to install PHP succesfully? Do you know
how to create a form? Do you know how to read and write files in PHP?
Do you know anything about encryption?
Yep, I do.

I figure you are not really a talkative kind of guy.

You could store usernames and sha1 checksums of the password to a file,
one entry per line.
Or put those in a PHP array somehow and store the json_encode result
of that array. That format is pretty fast to parse and store, and
gives you a no-hassle access to the data. Make sure you store
checksums of the passwords only.

Egbert
Sep 11 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1400
by: Peter..... | last post by:
Hi all. I want to make a login script( using python) to a homepage. The password and name is stored in a PostgreSQL database, so I have to go to connect to the database ( I know how to do that )...
3
2371
by: Steve | last post by:
I am new to .Net and Visual Studio, I have a login form and my main application form. When I login I want to call the application form, and dispose of the login. I have tried doing something...
7
1478
by: sumi | last post by:
Hi, from my login i want to login as a other user , how can i do it using python.
2
1966
by: feng | last post by:
My users who try to access a page before login are redirected to my login page. Then after they successfully login, my login page will redirect the user to the page they intended to go through...
10
1108
by: Wes McCaslin | last post by:
I have created a login form where i set the username and password within the code. I was wondering how could I set a varible so that I could have a form go back and look at what the user typed in...
3
1738
by: Agnes | last post by:
My login form will call a main form with menu in my button_OK click event >dim frmMain as new mainform >frmMain.show() >Me.dispose() The login form didn't close by itself, Please help.. Thanks
3
3580
by: Tomdhu | last post by:
As a Newbie I've picked up a heap of tips and tricks from this NG but I have been battling to get the current user's Netwok Login ID recorded on a form at the time a new record is created or...
5
1477
by: Andrew | last post by:
Hi, I have a default.aspx which allows the user to choose between module Admin and module B. When the user clicks either one, he will be redirected to a FormsAuthentication login page. The...
13
3221
JodiPhillips
by: JodiPhillips | last post by:
G'day, I have a silly and simple problem that I need some guidance with. Due to the way our network is set up, I am unable to use the group permissions for Access and have had to implement log...
6
5490
by: sherrygomindes | last post by:
Hi I have written a perl script using the Telnet module. I need to remotely login in from one windows XP machine to another XP machine. But i get errors which i can't figure out the reason....
0
7213
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7298
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7471
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5026
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1526
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
406
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.