Page 1 of 1

help req'ed : newbee

Posted: Sat Jan 09, 2010 12:52 am
by krsm1980
hey guys...

good to join all PHP people at one place.....

i am planning to start with a yellow page directory.....and i am new to PHP....

would you mind helping me abut where to start?

thx in advance... Kristi

Re: help req'ed : newbee

Posted: Sat Jan 09, 2010 6:28 pm
by Christopher
Explain more specifically what you want your "yellow page directory" to be.

Re: help req'ed : newbee

Posted: Sat Jan 09, 2010 7:21 pm
by alex.barylski
A good start would be to find existing scripts and see *exactly* how others solved the problem.

http://www.hotscripts.com

Great start :)

Cheers,
Alex

Re: help req'ed : newbee

Posted: Mon Jan 11, 2010 2:28 am
by krsm1980
arborint wrote:Explain more specifically what you want your "yellow page directory" to be.
The people can list their and enroll them for our paid plans...and so...

i just want to create a simple business directory...where people can come and search for a local business.....anytype of local business.

Re: help req'ed : newbee

Posted: Mon Jan 11, 2010 2:40 am
by papa
Do you have previous programming knowledge?

Maybe not the simplest task to start with.

But I would start scetching on what features I want and what I want people to be able to do and not to do.

After that, see what requirements is needed in terms of hardware and software (Servers etc).

Design my database and start programming.

Re: help req'ed : newbee

Posted: Mon Jan 11, 2010 6:26 am
by krsm1980
papa wrote:Do you have previous programming knowledge?

Maybe not the simplest task to start with.

But I would start scetching on what features I want and what I want people to be able to do and not to do.

After that, see what requirements is needed in terms of hardware and software (Servers etc).

Design my database and start programming.
yes i do have programming skill. but here at PHP..i am not clear with where to start with.

i am done with my database. the website functions.

but bit confused with some technical aspects, such as

CMS, and admin pages:

how would i be able to check admin login on specific pages....do i have to check session for admin on every page? what if a user type direct URL to any admin page, would that user be able to review those pages? there are several other technical aspects, which i am not clear with.

Re: help req'ed : newbee

Posted: Mon Jan 11, 2010 10:25 am
by jason
krsm1980 wrote:how would i be able to check admin login on specific pages....do i have to check session for admin on every page? what if a user type direct URL to any admin page, would that user be able to review those pages? there are several other technical aspects, which i am not clear with.
You'd want to use Sessions here, and there are many tutorials out there on how to use sessions for user management. As for checking every page: Yes, though that doesn't mean you have to copy/paste those checks into every page of the admin area. Not sure what level of programming skill you have, but this wouldn't be difficult if you are using a Front or Application Controller. Heck, simply including a config file that calls an authentication file that specifies everything for the security end, and sets everything up there would be good.

You could also forgo using PHP and simply use Apache and .htaccess files to enforce admin accounts. It might be the easiest way. Simply password protected a directory that you'd use as an admin directory, and let Apache handle user auth for you, assuming that all admins are the same.

Again, not knowing your proficiency level, I can't offer anything to specific. And in reality, even if I did, there is only so much I could do. You're asking us to design an application, rather than help you with your design of the application. It would be better if you told us what you planned on doing, and how you are going to do it, and where the specific problem areas are. Simply not knowing how to do something is really more a push for us to recommend reading the Docs regarding sessions and .htaccess protection at this point.