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

DC dan.cynosure at dbmscan.com
Tue Dec 4 12:55:57 MST 2007


run an FMP script that opens the db named via PHP and a GET or POST 
parameter?

http://snurl.com/1umx4

dan

Steve Winter had written:
> 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
> 
>  
> 
>  
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list


More information about the FX.php_List mailing list