fogproject  1.5.9
About: FOG is a Linux-based network computer cloning solution for Windows, Mac OSX and various Linux distributions that ties together a few open-source tools with a PHP-based web interface. FOG doesn’t use any boot disks, or CDs; everything is done via TFTP and PXE.
  Fossies Dox: fogproject-1.5.9.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

logtoview.php File Reference

Go to the source code of this file.




 vals ($reverse, $HookManager, $lines, $file)


if(!(isset($_POST['ip']) &&is_string($_POST['ip']))) if(!(isset($_POST['file']) &&is_string($_POST['file']))) $file = ''
 $lines = ''
if(!(isset($_POST['ip']) &&is_string($_POST['ip']))) if(!(isset($_POST['file']) &&is_string($_POST['file']))) if(!(isset($_POST['lines']) &&is_numeric($_POST['lines']))) if(!(isset($_POST['reverse']) &&is_numeric($_POST['reverse']))) $ip = $_POST['ip']
 $reverse = $_POST['reverse']
if(filter_var($ip, FILTER_VALIDATE_IP)===false) if(false !==strpos(filter_input(INPUT_SERVER, 'HTTP_HOST'), $ip)) $url

Function Documentation

◆ vals()

vals (   $reverse,

Returns vals.

int$reverseLog reverse or forward.
HookManager$HookManagerHook manager item.
int$linesLines to show.
string$fileFile to return.

Definition at line 52 of file logtoview.php.

References $file, $folder, $lines, $output, $path, and $reverse.

Variable Documentation

◆ $file

$file = ''

Definition at line 40 of file logtoview.php.

Referenced by vals().

◆ $ip

◆ $lines

$lines = ''

Definition at line 41 of file logtoview.php.

Referenced by ServerInfo\index(), FOGFTP\listrecursive(), and vals().

◆ $process

Initial value:
= array(
'ip' => base64_encode($ip),
'file' => $file,
'lines' => $lines,
'reverse' => $reverse

Definition at line 179 of file logtoview.php.

Referenced by Initiator\sanitizeItems().

◆ $response


◆ $reverse

$reverse = $_POST['reverse']

Definition at line 157 of file logtoview.php.

Referenced by vals().

◆ $url

if (filter_var( $ip, FILTER_VALIDATE_IP)===false) if (false !==strpos(filter_input(INPUT_SERVER, 'HTTP_HOST'), $ip)) $url
Initial value:
= sprintf(

Definition at line 174 of file logtoview.php.

if(filter_var($ip, FILTER_VALIDATE_IP)===false) if(false !==strpos(filter_input(INPUT_SERVER, 'HTTP_HOST'), $ip)) $url
Definition: logtoview.php:174
Definition: logtoview.php:157
static $httpproto
Definition: fogbase.class.php:298
if(!(isset($_POST['ip']) &&is_string($_POST['ip']))) if(!(isset($_POST['file']) &&is_string($_POST['file']))) $file
Definition: logtoview.php:40
if(!(isset($_POST['ip']) &&is_string($_POST['ip']))) if(!(isset($_POST['file']) &&is_string($_POST['file']))) if(!(isset($_POST['lines']) &&is_numeric($_POST['lines']))) if(!(isset($_POST['reverse']) &&is_numeric($_POST['reverse']))) $ip
Definition: logtoview.php:149
Definition: logtoview.php:179
Definition: logtoview.php:41