Page 1 of 1

Algorithm Approach to Limiting User accessing a form

Posted: Mon Apr 23, 2012 4:52 pm
by jethprojectgh
how do create a php form that will accept payments from 3-5 members of a particular group at the same time, a group may not be up to 5 ...the minimum number in a group is 3 and the maximum is 5. i.e accepting the details coming from this form based on the number of member inputs made

Re: Algorithm Approach to Limiting User accessing a form

Posted: Mon Apr 23, 2012 7:11 pm
by califdon
I think you need to explain what you are trying to do more clearly. Are these separate people on different computers?? How will "members of a particular group" be recognized?? Are you storing members in a database??

Re: Algorithm Approach to Limiting User accessing a form

Posted: Tue Apr 24, 2012 4:47 pm
by jethprojectgh
This problem statement was given to by a prospective employer who trying to evaluate my programming skill in php. Frankly, i have never done or seem such an implementation as required by this problem statement. From my understanding, i assume the payment form will be access by people or users from different location or computers; and also the these members will be recognized asynchronously as input is made into the group field; and also there should be a database to store the member details. Kindly supplement my understanding how to go about implementing such solution.

Re: Algorithm Approach to Limiting User accessing a form

Posted: Tue Apr 24, 2012 6:01 pm
by califdon
Well, I'm going to get personal and express my opinion here. The prospective employer is trying to evaluate YOUR programming skills, not the programming skills of a bunch of people in an online forum. I'm sorry, but I consider it unethical for you to present a solution that you are not capable of providing on your own. Even if someone were to give you an answer and you presented it to the employer and you were hired, what would you do when you were given a real assignment and you had to seek help from somebody else to do your job? OK, I feel sorry for you, I will tell you what I think that question is for: it is so vague that I think it is intended to screen out people who try to do exactly what you did. Probably the best answer you could give is that the problem statement is inadequate to work from.

Re: Algorithm Approach to Limiting User accessing a form

Posted: Wed Apr 25, 2012 10:03 am
by x_mutatis_mutandis_x
It don't think you have interpreted your prospective employer's question correctly, and it looks to me that this is not even a test for a php skill (unless you were asked to provide a working code), its more about logicical web design. I would agree with califdon, please do not ask interview questions here. Research them yourself, google it or whatever, and if you find an answer/hint, good for you but first understand it before you can blindly copy/paste; Interviewers can tell whether you solved it by yourself or got help..

PLEASE MAKE SURE TO PREPARE YOURSELF BEFORE YOU TAKE INTERVIEWS