Auto install


Posted on 16th Feb 2014 07:03 pm by admin

Hi I have a directory lets say "apps" that I then have more folders ie "email", "projectmanagment" now each of these "apps" need a mysql table, each of these apps has a .sql or.xml ready to import. Now my question is Moodle has it so you just put the folder in the "app" folder and go to a page and it auto installs, it has already detected the new folder in the apps folder and runs a script to import the .sql or .xml.
My question is how can I do this, I mean the detect automatically part?

Did you know?Explore Trending and Topic pages for more stories like this.
Oh and as usual thanks in advance, I really do appreciate it
No comments posted yet

Your Answer:

Login to answer
109 Like 38 Dislike
Previous forums Next forums
Other forums

parameter passing issue on function
Well I thought I had created a pretty slick web page, using ?page and $_GET to load pages which wher

Query failed issue with php script but works fine in mssql manager!
hi i have the script below which copies data from one table to another but will only insert new data

Uploading files/images via forms
Hey all, I am building a database for work that will contain some minor data on plant species along

gmdate() - want 1 hr before time
Hi,
I am using php gmdate().
Now I am entering all dates in my dbase using gmdate("Y-m-d

Do While statement
hi guys,

This may sound trivial but im new to php and as part of an assignmenti have to const

Help, Base64 encoding url and decoding server side.
Hello everyone, i have a website with videos and games and also provide an embed code which people c

Strange php code found on my website
I got hacked and the following code was placed within my files:

Code: [Select]<?
/*

TabControl Inside ListView Not Editing
Hello everybodyI have a ListView on my page. Inside the ListView I put a TabControl, cuz I want to p

Streaming local file from PHP while it’s been written to by a CURL process
I am creating a simple Proxy server for my website. Why I am not using mod_proxy and mod_cache is a

IP Based Cron Jobs
I run cronjobs on my website. After one of my visitors got curious and tinkered around he realized h

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash