Ini processing into javascript

PHP

<html>
<body>
<?php
$ini_array=parse_ini_file('lxtest/ini/system.ini.php');
echo '<pre>';
var_dump($ini_array);
echo '</pre>';
echo '<hr />';
extract ($ini_array);
echo 'Database: '.$database.'<br />';
?>
<?=$database?>
</body>
<script>
alert("<?=$password?>");
</script>
</html>

This is the beginning of an adventure - to use PHP to inject strings into javascript for AJAX applications. Multi-lingual, fast and efficient. More posts later. Will probably require Apache adjustments to run .js files through PHP, but that’s okay!!!

&#58;&#68;