31,034
edits
mNo edit summary |
|||
| Line 8: | Line 8: | ||
The scripts are often made for a specific need, it is likely that you do not find the one you want. In this case, we'll explain how to develop your own script. | The scripts are often made for a specific need, it is likely that you do not find the one you want. In this case, we'll explain how to develop your own script. | ||
== Step 1 - Create the | == Step 1 - Create the skeleton of the script == | ||
The first step is to take the skeleton script available in '''dev/skeletons/skeleton_scripts.php''' and copy and renaming it in directory '''scripts/mydir/myscript.php''' | The first step is to take the skeleton script available in '''dev/skeletons/skeleton_scripts.php''' and copy and renaming it in directory '''scripts/mydir/myscript.php''' | ||
Once renaming is done, give it permissions to execute. | Once renaming is done, give it permissions to execute. | ||
On linux, this is the command: | On linux, this is the command: | ||
<pre> | <pre> | ||
cd scripts/mydir; | cd scripts/mydir; | ||