We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,414 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion
Hey everyone, No errors here but I was wondering..is there an easy way to simply "add" an administrator in a log-in script to redirect to a certain area of a website that the administrator can only access? Any advice would be greatly appreciated :)

i want create admin and user login page.but admin only access for update,delete,change password for user account.but user only view for account details.so u help me.

reemasmartin
Newbie Poster
16 posts since Oct 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Please search this forum, it's been covered to death.

so u help me.

Also if you want help on this at least show some effort by posting your own code first.

diafol
Keep Smiling
Moderator
10,668 posts since Oct 2006
Reputation Points: 1,632
Solved Threads: 1,514
Skill Endorsements: 57

i am new beginner for php.my first task is "create admin and user login page.but admin only access for update,delete,change password for user account.but user only view for account details".now 1st create login page. http://www.daniweb.com/web-development/php/threads/400358/adding-an-admin-to-an-existing-login-script.
already post for coding for this website.so please u click for above liink.so u any idea..pls help me

reemasmartin
Newbie Poster
16 posts since Oct 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Ok, so you lifted some code from this thread - possibly even my code. So, I fail to see where you've shown some effort yourself. As you mention, this is your first task, so I expect you are the one that's supposed to do it.

What else have you got? What are your ideas? You will need to read up on sessions, db access and manipulation, header redirects. It is essentially a set of very, very simple scripts.

As mentioned previously, have a go yourself first.

diafol
Keep Smiling
Moderator
10,668 posts since Oct 2006
Reputation Points: 1,632
Solved Threads: 1,514
Skill Endorsements: 57

ok.1st improve my self.but php.net website tutorial is high standard.u know any tutorial website for learning php.

reemasmartin
Newbie Poster
16 posts since Oct 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

You can search google for 'beginner PHP tutorial'.
The first result is the 'simple tutorial' on php.net website.
If that is too hard, you need to grow your brain :D
Good luck!

adam.adamski.96155
Junior Poster
189 posts since Oct 2012
Reputation Points: 43
Solved Threads: 40
Skill Endorsements: 4

I concur with adam. A google search for php tutorials or php beginner should afford some immediate help. I'm quite a fan of textbooks when it comes to learning a new language as they have a nice google page in the back called an index which allows you to home in on specific searches. Wrox, O'Reilly and Apress usually do it for me with regard to publishers. There is no substitute for failing and learning from your own mistakes. Being a script bunny will only get you so far. If things don't work you'll be well and truly stuck as you'll try to debug or fix code that you don't understand. Worse and with some embarrassment, you'll supply the code in a forum post and you'll get the question - 'Is this your code? If not, ask the author'. We're always here to help - note the 'help' - we don't supply novel code for thread starters as a rule. Have a go, but do come back if you have questions or you've been stuck for some time with your code.

diafol
Keep Smiling
Moderator
10,668 posts since Oct 2006
Reputation Points: 1,632
Solved Threads: 1,514
Skill Endorsements: 57

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
 
© 2013 DaniWeb® LLC
Page rendered in 0.0703 seconds using 2.72MB