[FX.php List] [OFFish] opening a new file on server

Steve Winter steve at bluecrocodile.co.nz
Tue Dec 4 12:11:17 MST 2007


Hi all,

 

I've been working on a solution over the last few weeks which will be used
by schools for monitoring behaviour management within the school. It's based
on an FMP database, and uses FX to deliver the content. It is anticipated
that there will multiple schools using the system, with each school having
their own copy of the 'base' database and the associated PHP files so that
it's possible to do customisations on a school by school basis. all good so
far.

 

We would however like to have a completely web-based 'management' aspect of
this, which would mean that a school would register, and at completion of
registration (into a separate master database) PHP would set up the school
folder with a default install of the system, copy the 'master' database,
giving it an appropriate name, into the FMS databases folder. and it's there
that I run into a substantial snag.! Everything is in place, except that the
database isn't open on the server.

 

Does anyone have any clever ideas about how I can tell FMS to open the new
database.? I guess I could take the brute-force approach and use exec()
commands to stop, then restart the FMS service, but that will clearly
disrupt everyone else.!! I notice some of the FMP hosting providers offer a
web-based interface which they say can be used to open and close dbs, anyone
got any idea how they work.?

 

Any thoughts.?? 

 

Thanks

Steve

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20071204/75bed5e0/attachment.html


More information about the FX.php_List mailing list