FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


How hard would it be to make this script





ncwdavid
Hey, I was wondering how hard it would be to make a script like this:

You go to a page that has a form and it is like this:

Email:
Name:
Username:
Password:
Confirm Password:

Then when you click "Submit" their username and password get put into a file called password.txt and their email and name get put into another file called personal.txt and both of them folders are in cgi-bin directory.

Then an email is sent to you with all the details that were entered in the form just to confirm everything and a link to the members area.

In the membersarea directory there is a htaccess file and when you click on the link in the email to go to the members area a popop jumps out saying username and password and the user name and password are confirmed from the password.txt file.

Anybody? I dont think it would be hard compared to some other scripts?
Marston
ncwdavid wrote:
a file called password.txt
This is unsafe. I would reccomend using MySQL and a PHP-based login system rather than .htaccess. There are many tutorials for this sort of thing, just search Google.
ganbate
Marston wrote:
ncwdavid wrote:
a file called password.txt
This is unsafe. I would reccomend using MySQL and a PHP-based login system rather than .htaccess. There are many tutorials for this sort of thing, just search Google.

i agree that it isn't save, because you store the pass as a plain-text.
in other case, you have to read & search all the text in password.txt when the user wants to log in. i think it isn't practical.
rohan2kool
@ganbate: Neither it's save nor unsave. it's unsafe... just kiddin' don't mind Wink

That's not pretty unsafe if you secure the file from prying eyes and at the same time use hashing for the password. A hash does a hacker no good Wink
Related topics
Chat script
[php]putting script fragments together?
A PHP Script Contest, winner get 100F$
.html using header/footer include script?
TRANSFORMERS MOVIE SCRIPT REVIEW...SPOILERS ARE HIDDEN
Some times, the error is so hard to find and so funny
150 frih to make this SIMPLE script
need help with a script for vb its not to hard i think
You know a BEST FREE Auction Script???
Super fast script mod (300 frih)
Run python script
Help me choose a font! Please!
Is there a script that ........
Mysql GROUP_CONCAT Magic
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.