Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Installing Soft Auto Installer

...

Expand
titleCode used to generate the above list


Code Block
languagephp
linenumberstrue
<?php

$scripts_json = file_get_contents('https://s2.softaculous.com/a/softaculous/scripts.php?in=json');
$scripts = json_decode($scripts_json, true);
echo '<table style="border: 1px solid #eee; border-collapse: collapse;">
<tr>
	<td style="border: 1px solid #eee; padding:5px;"><b>Script Name</b></td>
	<td style="border: 1px solid #eee; padding:5px;"><b>Value for Script field for auto install</b></td>
</tr>';
foreach($scripts as $k => $v){
	echo '<tr>
		<td style="border: 1px solid #eee; padding:5px;">'.$v['name'].'</td>
		<td style="border: 1px solid #eee; padding:5px;">'.$v['name'].'</td>
	</tr>';
}
echo '</table>';



Have custom scripts? See the documentation at https://www.softaculous.com/docs/api/api/#list-scripts for the command to run on your Softaculous install to fetch your scripts.