Page 1 of 2

Admin in PHP

Posted: Thu Jul 30, 2009 4:30 pm
by sunkist
Hi ! thanks to all who read this...so I'm new to PHP from HTML and I've been looking at 1001 tutorials BUT can i build an admin for my friend who wants to maintain the site himself after I'm done ?

and if so can someone point me in the correct direction to how ?

Thank you

Re: Admin in PHP

Posted: Thu Jul 30, 2009 4:33 pm
by Eric!
That's a pretty loaded question. What does exactly in your site does your friend want to "administer"?

Perhaps you should set him up on a host with some built in WYSIWYG tools.

Re: Admin in PHP

Posted: Thu Jul 30, 2009 4:34 pm
by jackpf
Do you mean an admin panel? Haha, or maybe you want to build him an actual administrator...good luck with that.


Well, if you mean an admin panel or interface, then yeah, I was about to ask what Eric! asked - administrate what exactly?

Re: Admin in PHP

Posted: Thu Jul 30, 2009 4:51 pm
by sunkist
Basically i build the site and he logs in " somewhere" and than he can maintain it--he can upload images, change prices, change descriptions, alter buttons..are the main ones

Re: Admin in PHP

Posted: Thu Jul 30, 2009 4:54 pm
by jackpf
Basically you'll want to store all these values in a database then.

You could set up an interface for editing them pretty easily.

You'll also have to build a login system.

There are plenty of upload tutorials on google. I think there are even some in the tutorial section of this forum...

Anyway, that should get you started...
If you have trouble with anything in particular, feel free to post back.

Re: Admin in PHP

Posted: Thu Jul 30, 2009 4:59 pm
by sunkist
Awesome, im hoping to catch on quick one quick thing if i build a PHP site and alter it myself can i later ( say 1 month ) make the admin page link up to it ? or do i have to make the site and make the admin at the same time ?

Re: Admin in PHP

Posted: Thu Jul 30, 2009 5:00 pm
by jackpf
Sorry...I'm not quite sure what you mean.

Re: Admin in PHP

Posted: Thu Jul 30, 2009 9:31 pm
by phphat
He is trying to say that if he made the site without an admin panel, and then one month later can he still implement an admin panel.

Re: Admin in PHP

Posted: Thu Jul 30, 2009 9:33 pm
by jackpf
Oh right...

Well yes. Why wouldn't you be able to? As long as you still have access to the files of course....

Re: Admin in PHP

Posted: Thu Jul 30, 2009 10:53 pm
by Eric!
sunkist wrote:Awesome, im hoping to catch on quick one quick thing if i build a PHP site and alter it myself can i later ( say 1 month ) make the admin page link up to it ? or do i have to make the site and make the admin at the same time ?
Are you going to build your own php scripts for managing the site through your panel? If you do then you can do whatever you want in the admin section after the site is done, however this is a lot of work.

Have you looked at a host which provides something like CPanel with a wysiwyg HTML editor option? They can login via CPanel and manage everything on their site email accounts, statistics, edit HTML, use FileManager for uploads or even setup an FTP account if he wants.

Re: Admin in PHP

Posted: Thu Jul 30, 2009 10:55 pm
by sunkist
phphat wrote:He is trying to say that if he made the site without an admin panel, and then one month later can he still implement an admin panel.
:) thank you for the clarification, sometimes i type to quick.

Re: Admin in PHP

Posted: Thu Jul 30, 2009 10:58 pm
by sunkist
Eric! wrote:
sunkist wrote:Awesome, im hoping to catch on quick one quick thing if i build a PHP site and alter it myself can i later ( say 1 month ) make the admin page link up to it ? or do i have to make the site and make the admin at the same time ?
Are you going to build your own php scripts for managing the site through your panel? If you do then you can do whatever you want in the admin section after the site is done, however this is a lot of work.

Have you looked at a host which provides something like CPanel with a wysiwyg HTML editor option? They can login via CPanel and manage everything on their site email accounts, statistics, edit HTML, use FileManager for uploads or even setup an FTP account if he wants.
Tell you the truth im diving into PHP for the first time, it was either PHP or ASP.NEt and the only reason im doing PHP is there's waaaaaaaaaaaay more help community than ASP.NET.

Where would the customer log-in to, would they just log into the site and type in Admin and it would take them there ?

Ive been reading allot about the admin and it seems like its going to be more work than the website !

Re: Admin in PHP

Posted: Fri Jul 31, 2009 2:18 am
by VladSun
Why don't you just install a ready-to-use CMS like Joomla, Drupal, etc.?

http://en.wikipedia.org/wiki/Web_conten ... ent_system

Re: Admin in PHP

Posted: Fri Jul 31, 2009 6:11 am
by jackpf
VladSun wrote:Why don't you just install a ready-to-use CMS like Joomla, Drupal, etc.?

http://en.wikipedia.org/wiki/Web_conten ... ent_system
Ahh that's boring :P

It will be a lot of work, yes, but you should learn a lot from it.

Re: Admin in PHP

Posted: Fri Jul 31, 2009 6:43 am
by VladSun
jackpf wrote:Ahh that's boring :P
but quite more realistic ;)