Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
PHP Control Panel for remote clients
Old 03-02-2008, 04:52 PM PHP Control Panel for remote clients
Average Talker

Posts: 26
Name: Andy
Trades: -1
Hi. Im not new to PHP but I have not come across my current problem before.

I'm creating an automatic website creation tool for a bit of a niche market, using my own CMS with themes and fancy editors and all that jazz. And while my CMS is almost complete and working I have recently realised that I have no idea how I wish to deploy it.

My service involves setting up a new account on my reseller hosting package for my clients, and then them using either my database based CMS system or ordinary FTP access, depending upon their experience. My problem is that I dont really want to have to put all the control panel PHP scripts in their webspace. In case they delete them, edit them beyond repair and all sorts of security issues I havn't thought of... Also, it means I can't subtly update it once I have clients.

Im sure my service isn't completely unique. How do other people get around this?
Pash is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-02-2008, 05:30 PM Re: PHP Control Panel for remote clients
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
well that is not possible if you want to create a seperare hosting account for each "site"

you could have it so its the same script and u have a script where user signs up and ir creates a database for that thing or something..

I would personally say u should have the files on the account and give some degree of trust to them.

i would have a script which creates the new hosting account, moves a compressed archive with all the files in, decompress it create a database user with full privs
create a config file with those settings, install the DB structure.
and then it should be all fine.

BUT i very much doubt you would be able to do most of that because u need Root access. so u would need VPS/Dedicated.

Dan
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 03-02-2008, 06:17 PM Re: PHP Control Panel for remote clients
Average Talker

Posts: 26
Name: Andy
Trades: -1
Thats what I am currently doing on my testing setup, more or less. Im using WHM/cPanel's skeleton directory which populates all new accounts on the server, including an install script to setup the tables.

One of my goals was to have the control panel self updating. That possible, let alone sensible?
Pash is offline
Reply With Quote
View Public Profile
 
Old 03-02-2008, 06:26 PM Re: PHP Control Panel for remote clients
Average Talker

Posts: 26
Name: Andy
Trades: -1
Ah bother, your right - you cant create databases from PHP on my server. Anyway to do this through cPanel automatically?
Pash is offline
Reply With Quote
View Public Profile
 
Old 03-02-2008, 06:29 PM Re: PHP Control Panel for remote clients
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
Dont think so, (i forgot about the skelton directory lol that would be best)

I think the only way is to get the client to set up a db user and run the install script, or u do it for each one.
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Reply     « Reply to PHP Control Panel for remote clients
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.64658 seconds with 12 queries