Location: PHPKode > projects > phpMyPrepaid > phpmyprepaid/www/install/step4.php
<?
 aff_header("PhpMyPrepaid Setup Wizard", "Radius Configuration", 5);
?>
                <table cellpadding="0" cellspacing="0" border="0" width="80%" class="StyleDottedHr" align="center">
          <tr>
            <th style="padding-left:20px " colspan="2">Radius Configurations</th>
          </tr>
                  <tr>
            <td style="padding-left:50px ">FreeRADIUS host</td>
	    <td><input name="radius_server" type="text" value="<? if (isset($_SESSION["radius_server"])) print $_SESSION["radius_server"]; else print "localhost";?>" size="40"></td>
		  </tr>
                  <tr>
            <td style="padding-left:50px ">FreeRADIUS host secondary</td>
	    <td><input name="radius_server_sec" type="text" value="<? if (isset($_SESSION["radius_server_sec"])) print $_SESSION["radius_server_sec"]; else print "localhost";?>" size="40"></td>
		  </tr>
                  <tr>
            <td style="padding-left:50px ">FreeRADIUS port</td>
			<td><input name="radius_port" type="text" value="<? if (isset($_SESSION["radius_port"])) print $_SESSION["radius_port"]; else print "1812";?>" size="40"></td>
		  </tr>
                  <tr>
            <td style="padding-left:50px ">FreeRADIUS secret</td>
			<td><input name="radius_secret" type="text" value="<? if (isset($_SESSION["radius_secret"])) print $_SESSION["radius_secret"]; else print "secret";?>" size="40"></td>
		  </tr>
                  <tr>
            <td style="padding-left:50px ">FreeRADIUS binary files directory</td>
	    <td><input name="radius_bin" type="text" value="<? if (isset($_SESSION["radius_bin"])) print $_SESSION["radius_bin"]; else print "/usr/sbin/freeradius";?>" size="40"></td>
                  </tr>
                  <tr>
            <td style="padding-left:50px ">FreeRADIUS config files directory</td>
	    <td><input name="radius_conf" type="text" value="<? if (isset($_SESSION["radius_conf"])) print $_SESSION["radius_conf"]; else print "/etc/freeradius";?>" size="40"></td>
                  </tr>
                  <tr>
            <td style="padding-left:50px ">FreeRADIUS Dictionary directory</td>
	    <td><input name="radius_dictionary" type="text" value="<? if (isset($_SESSION["radius_dictionary"])) print $_SESSION["radius_dictionary"]; else print "/usr/share/freeradius";?>" size="40"></td>
                  </tr>
                  <tr>
            <td style="padding-left:50px ">FreeRADIUS start/stop/restart/status script</td>
	    <td><input name="radius_startscript" type="text" value="<? if (isset($_SESSION["radius_startcript"])) print $_SESSION["radius_startscript"]; else print "/etc/init.d/radiusd";?>" size="40"></td>
                  </tr>
                  <tr>
            <td style="padding-left:50px ">FreeRADIUS radius.log file path</td>
	    <td><input name="radius_log" type="text" value="<? if (isset($_SESSION["radius_log"])) print $_SESSION["radius_log"]; else print "/var/log/radius/radius.log";?>" size="40"></td>
                  </tr>
                  <tr>
            <td style="padding-left:50px ">Radclient command</td>
	    <td><input name="radclient" type="text" value="<? if (isset($_SESSION["radius_location"])) print $_SESSION["radius_location"]; else print "/usr/bin/radclient";?>" size="40"></td>
                  </tr>
                  <tr>
            <td style="padding-left:50px ">FreeRADIUS version. </td>
           <td>1.X <input type="radio" name="radius_version" value="1" checked> 2.X <input type="radio" name="radius_version" value="2" enabled  <? if (isset($_SESSION["radius_version"]) && $_SESSION["radius_version"] == 2) print "checked"; ?>></td>
          </tr>


                </table>
<?
        aff_middle();
        $str = "<input class='button' type='submit' name='goto' value='Back' /><input class='button' type='submit' name='goto' value='Next' id='button_next' />";
        print $str;
        aff_footer();
?>
Return current item: phpMyPrepaid