PHP/FI is a light, and powerful, interpreter for server-parsed
("dynamic" this year, SSH since NCSA invented the thing ages ago)
html which can be used either as a CGI redirected processor or
embbedded in Apache servers. Its web site is
http://php.iquest.net/.
99 Bottles of beer.
/* Don't show the access information footer */
setshowinfo(0)
>
/* Drink with the boys... */
$hic = 99;
while ($hic > 0) (
$huc = $hic - 1;
/* Waste CPU, but you are using a Cray, aren't you? */
if ($hic = 1) (
$huc = $hic;
) ;
if ($hic = 1) $bottles = "bottle" else $bottles = "bottles" ;
echo $hic $bottles of beer on the wall, $hic $bottles of beer.
;
echo Take one and pass it around,
;
echo "$huc $bottles of beer on the wall.
" ;
$hic--;
)
/* Pass out */
echo No more bottles of beer on the wall.
;
echo No more bottles of beer...
;
echo Go to the store and buy some more...
;
echo 99 bottles of beer.
;
?>