Admin in PHP

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

sunkist
Forum Newbie
Posts: 5
Joined: Thu Jul 30, 2009 4:19 pm

Admin in PHP

Post 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
Eric!
DevNet Resident
Posts: 1146
Joined: Sun Jun 14, 2009 3:13 pm

Re: Admin in PHP

Post 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.
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Admin in PHP

Post 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?
sunkist
Forum Newbie
Posts: 5
Joined: Thu Jul 30, 2009 4:19 pm

Re: Admin in PHP

Post 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
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Admin in PHP

Post 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.
sunkist
Forum Newbie
Posts: 5
Joined: Thu Jul 30, 2009 4:19 pm

Re: Admin in PHP

Post 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 ?
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Admin in PHP

Post by jackpf »

Sorry...I'm not quite sure what you mean.
phphat
Forum Newbie
Posts: 14
Joined: Sun Jul 26, 2009 5:25 pm

Re: Admin in PHP

Post 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.
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Admin in PHP

Post 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....
Eric!
DevNet Resident
Posts: 1146
Joined: Sun Jun 14, 2009 3:13 pm

Re: Admin in PHP

Post 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.
sunkist
Forum Newbie
Posts: 5
Joined: Thu Jul 30, 2009 4:19 pm

Re: Admin in PHP

Post 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.
sunkist
Forum Newbie
Posts: 5
Joined: Thu Jul 30, 2009 4:19 pm

Re: Admin in PHP

Post 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 !
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Admin in PHP

Post 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
There are 10 types of people in this world, those who understand binary and those who don't
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Admin in PHP

Post 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.
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Admin in PHP

Post by VladSun »

jackpf wrote:Ahh that's boring :P
but quite more realistic ;)
There are 10 types of people in this world, those who understand binary and those who don't
Post Reply