Source of /bottles.php


<?
if ($_SERVER['SCRIPT_FILENAME'] == __FILE__)
    
$allowviewsource = 1;

require_once(
"common.php");

page_header("Bottles of beer");
print
"<p>Actual content coming <del>soon</del> eventually. In the meantime, please enjoy the old party favorite, <cite>100 Bottles of Beer</cite>.</p>\n";
for (
$i = 100, $s = 's'$i 0;)
{
    print
"<p>$i bottle$s of beer on the wall,<br>$i bottle$s of beer...<br>Take one down and pass it around,<br>";
    
$i--;
    
$s = ($i == 1) ? '' : 's';
    if (
$i)
        print
"$i bottle$s of beer on the wall.</p>\n";
    else
        print
"No more bottles of beer on the wall.</p>\n";
}
page_footer();
?>


Valid HTML 4.01 StrictValid CSSLevel Triple-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0
Retrieved from https://​www.mrphlip.com/​bottles.php?​viewsource=yep.
Copyright © 2006–13 Phillip Bradbury. Some rights reserved.
This page is best viewed in a web browser at a screen resolution. Attempts to do otherwise may fail miserably.
Contact me