| version 1.42, 2006/01/22 21:44:00 |
version 1.43, 2006/01/24 16:32:09 |
| Line 59 if (! defined('PHP_EOL')) { |
|
| Line 59 if (! defined('PHP_EOL')) { |
|
| : strtoupper(substr(PHP_OS, 0, 3) == 'MAC') ? "\r" : "\n"); |
: strtoupper(substr(PHP_OS, 0, 3) == 'MAC') ? "\r" : "\n"); |
| } |
} |
| |
|
| $hn = @$HTTP_POST_VARS['hn']; |
$hn = @$_POST['hn']; |
| $un = @$HTTP_POST_VARS['un']; |
$un = @$_POST['un']; |
| $pw = @$HTTP_POST_VARS['pw']; |
$pw = @$_POST['pw']; |
| $db = @$HTTP_POST_VARS['db']; |
$db = @$_POST['db']; |
| $tb = @$HTTP_POST_VARS['tb']; |
$tb = @$_POST['tb']; |
| $id = @$HTTP_POST_VARS['id']; |
$id = @$_POST['id']; |
| $submit = @$HTTP_POST_VARS['submit']; |
$submit = @$_POST['submit']; |
| $options = @$HTTP_POST_VARS['options']; |
$options = @$_POST['options']; |
| $baseFilename = @$HTTP_POST_VARS['baseFilename']; |
$baseFilename = @$_POST['baseFilename']; |
| $pageTitle = @$HTTP_POST_VARS['pageTitle']; |
$pageTitle = @$_POST['pageTitle']; |
| $pageHeader = @$HTTP_POST_VARS['pageHeader']; |
$pageHeader = @$_POST['pageHeader']; |
| $HTMLissues = @$HTTP_POST_VARS['HTMLissues']; |
$HTMLissues = @$_POST['HTMLissues']; |
| $CSSstylesheet = @$HTTP_POST_VARS['CSSstylesheet']; |
$CSSstylesheet = @$_POST['CSSstylesheet']; |
| |
|
| $phpExtension = '.php'; |
$phpExtension = '.php'; |
| if (isset($baseFilename) && $baseFilename != '') { |
if (isset($baseFilename) && $baseFilename != '') { |
| Line 101 function echo_buffer($x) |
|
| Line 101 function echo_buffer($x) |
|
| $buffer .= $x.PHP_EOL; |
$buffer .= $x.PHP_EOL; |
| } |
} |
| |
|
| $self = basename($HTTP_SERVER_VARS['PHP_SELF']); |
$self = basename($_SERVER['PHP_SELF']); |
| $dbl = @mysql_pconnect($hn, $un, $pw); |
$dbl = @mysql_pconnect($hn, $un, $pw); |
| |
|
| if ((!$dbl) or empty($submit)) { |
if ((!$dbl) or empty($submit)) { |
| Line 304 if ((!$dbl) or empty($submit)) { |
|
| Line 304 if ((!$dbl) or empty($submit)) { |
|
| /* Get the user's default language and use it if possible or you can |
/* Get the user's default language and use it if possible or you can |
| specify particular one you want to use. Refer to official documentation |
specify particular one you want to use. Refer to official documentation |
| for list of available languages. */ |
for list of available languages. */ |
| \$opts['language'] = \$HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE']; |
\$opts['language'] = \$_SERVER['HTTP_ACCEPT_LANGUAGE']; |
| |
|
| /* Table-level filter capability. If set, it is included in the WHERE clause |
/* Table-level filter capability. If set, it is included in the WHERE clause |
| of any generated SELECT statement in SQL query. This gives you ability to |
of any generated SELECT statement in SQL query. This gives you ability to |