Algorithm Approach to Limiting User accessing a form

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jethprojectgh
Forum Newbie
Posts: 2
Joined: Mon Apr 23, 2012 10:39 am

Algorithm Approach to Limiting User accessing a form

Post 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
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Algorithm Approach to Limiting User accessing a form

Post 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??
jethprojectgh
Forum Newbie
Posts: 2
Joined: Mon Apr 23, 2012 10:39 am

Re: Algorithm Approach to Limiting User accessing a form

Post 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.
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Algorithm Approach to Limiting User accessing a form

Post 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.
x_mutatis_mutandis_x
Forum Contributor
Posts: 160
Joined: Tue Apr 17, 2012 12:57 pm

Re: Algorithm Approach to Limiting User accessing a form

Post 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
Post Reply