Link to home
Start Free TrialLog in
Avatar of paulwillis
paulwillis

asked on

Login Script

Well it is simple really, i have neva used or looked at CGI Scripting before but you can use CGI for people to sign up and log in to your site can't you.

I just want to know how simple this is to set up if i have neva used CGI before.

I am making a website with multiple choice questions on and people are goin to pay to enter my site, but i need them to sign up first, whats the simplist way to make them sign up and them be able to log in everytime they visit my site again.

Is CGI the best way to do this and whats the best way of goin about this.

Cheers from Paul
Avatar of mnashadka
mnashadka

Some form of CGI will definintely work for you.  You'll probably want a database that can store encrypted passwords on the back end.  When people sign up, you want their user id, password, and any other relevant information to be stored in that database.  Then, when they sign back in, you retrieve that info back from the database, and if there's no user with that id and password, you can make them join or something.  Also, if you'll be storing sensitive information (like credit card numbers and phone numbers), you'll probably want to make the site secure (using RSA's SSL or something).  I know this is vague, but you've asked a pretty vague question.  I hope it helps, anyway.
how are you planning on collecting the fee?

will the system have to verify their credit card information? or will you do that yourself?
Avatar of paulwillis

ASKER

We will verify it our selfs.

Paul
Hi Paul,

then I am guessing you will give them a user name and password?
or will you "activate" their account from your end
or will you give them some sort of "activation code" to enter in when they first logon...

in other words, what method will you use to know that someone has paid, and therefore can gain access to your services.

---because this needs to be accounted for in the login system, I think...you tell me.

what I am thinking is you have a flat database with the user name, password, and then the status, which will be either paid, or not paid.

how does this sound?
when you have recieved payment, you could simply edit the status for that person.
Well yeah that sounds good but i dont really know how to create a database for this sort of thing. If i knew how to make them then yes i will have a paid unpaid status.

I really need someone to make this for me unless people on here don't mind explainin what to do step by step.

If anyones got spare time and wants to make this thing for me then say.

Cheers from Paul
well, it's not much of a database :)
it's just a plain text file..

couple of last questions so I know how to procede....

1. do you have an html form/page for this, or do you need that as well.

2. if the paid/unpaid status was in a simple format on your server like so:

username|password|paid?
joe|passw|notpaid
mike|pass|paid

could you could edit it okay, or would you feel more comfortable with web access (which is harder, and less secure)?

Thats it, if you don't have a form at all, I will make it for you so, just let me know those 2 answers, and I will begin the script for you, which will only take a little while.

Thanks,

Bob
The first question is: no, i dont need you to create a html page for me, i have set up a page at http://www.testquestions.cjb.net .

As for the second question, i dont understand what i need to edit, do i need to edit the paid unpaid status myself, is that what u mean.

i dont understand this:

username|password|paid?
joe|passw|notpaid
mike|pass|paid

whats it about and whats it do, and whats the other web access thing

Cheers from Paul
If you have nere done any cgi then you will need professional help, or a LOT of time.  Also, if you accept credit cards you will need SSL and probably more security than that to satisfy your agreements with your credit card merchant.
ASKER CERTIFIED SOLUTION
Avatar of bebonham
bebonham

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I am sorry to see that Asker has not returned to update and finalize this question.  I am, therefore, force accepting this question.  In the event the Asker returns with additional needs related to this question, please respond and continue the collaboration process.
Thank you,
Moondancer
Community Support Moderator @ Experts Exchange