#!/usr/local/bin/php "") $rows = $_POST['rows']; else $rows = 40; if($_POST['cols'] <> "") $cols = $_POST['cols']; else $cols = 80; ?>
) (modified for pfSense Edit/Save file by Scott Ullrich, Copyright 2004, 2005) */ include("fbegin.inc"); // Function: is Blank // Returns true or false depending on blankness of argument. function isBlank( $arg ) { return ereg( "^\s*$", $arg ); } // Function: Puts // Put string, Ruby-style. function puts( $arg ) { echo "$arg\n"; } // "Constants". $Version = ''; $ScriptName = $HTTP_SERVER_VARS['SCRIPT_NAME']; $Title = gentitle("edit file"); // Get year. $arrDT = localtime(); $intYear = $arrDT[5] + 1900; $pgtitle = "Diagnostics: Edit File"; include("head.inc"); ?>=$Title ?> {$loadmsg}
"; ?>