Advice for 1 admin

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
wizzard81
Forum Commoner
Posts: 66
Joined: Wed Jan 15, 2003 6:05 am
Location: Belgium
Contact:

Advice for 1 admin

Post by wizzard81 »

Hello,

I'm having some troubles i have 3 different projects on my same reseller package but on a seperate hosting package.

Now i'm making one admin to manage the 3 projects from one admin but my big problem i have is. I cannot manage pictures like changing a picture because this is only local possible from the location self.
Like uploading files via a form can only be done local not from my main admin.

Does someone has a suggestion for this problem?
wizzard81
Forum Commoner
Posts: 66
Joined: Wed Jan 15, 2003 6:05 am
Location: Belgium
Contact:

Post by wizzard81 »

Anyone?
rehfeld
Forum Regular
Posts: 741
Joined: Mon Oct 18, 2004 8:14 pm

Post by rehfeld »

try and provide more details
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

please be patient..

I don't quite understand how your picture managment works, can you explain more?
wizzard81
Forum Commoner
Posts: 66
Joined: Wed Jan 15, 2003 6:05 am
Location: Belgium
Contact:

Post by wizzard81 »

Well my problem is i have on reseller package but 3 different webhosting packages.

My problem is i want to create 1 admin to manage my 3 websites(projects) from 1 place.
But my picturtes are stored on every hosting like this /var/www/html/images/

well from the main admin i want to create is it not possible to manage pictures or files because i cannot into a map of one of my other webhosting packages because of a VDS is it not possible to get into maps from my other hosting packages.

So the only solution is to work with a seperate admin for all the projects but this is not the way i want to work because its not a good structure.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

you could engineer your own admin that uses FTP and HTTP as the means for transport. HTTP file upload the files to your main account/server.. You then tell your script to place it on x server. The script goes out on FTP and puts the file there.

That's one way.. here's another: Place a script on all the managed servers that knows how to make an HTTP request to your main server. HTTP upload the images to the main server. Your server's admin script makes a page request to a managed server, that then makes a page request for the image. It's slightly more complicated, but more secure at the same time. Still relatively easy though.

I don't think virtual drives would work, even if you were allowed.. because the file functions require local filesystem level access to write files.
wizzard81
Forum Commoner
Posts: 66
Joined: Wed Jan 15, 2003 6:05 am
Location: Belgium
Contact:

Post by wizzard81 »

Thanks Feyd for the great help.
Post Reply