sarg  2.4.0
About: SARG ia a Squid Analysis Report Generator.
  Fossies Dox: sarg-2.4.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

sarg-squidguard-block2.php File Reference

Go to the source code of this file.

Functions

 parse_config ($line, $clave)
 

Variables

if(!isset($_GET['file'])) $file = $_GET['file']
 
if(!isset($_GET['url'])) $url = $_GET['url']
 
if(!setlocale(LC_ALL, $language)) $domain = 'messages'
 
global $dbhome
 
 $lines =file($squidGuardConf)
 
if($ha==false$written = fwrite($ha, $url)
 
 if ( $written !=strlen( $url)) = $url."\n"
 
gettext("Done!")</p > n< p >
 

Function Documentation

◆ parse_config()

parse_config (   $line,
  $clave 
)

Definition at line 62 of file sarg-squidguard-block2.php.

References $dbhome.

Variable Documentation

◆ $dbhome

global $dbhome

Definition at line 71 of file sarg-squidguard-block2.php.

Referenced by parse_config().

◆ $domain

if (!setlocale(LC_ALL, $language)) $domain = 'messages'

Definition at line 58 of file sarg-squidguard-block2.php.

◆ $file

$file = $_GET['file']

Definition at line 36 of file sarg-squidguard-block2.php.

◆ $lines

$lines =file($squidGuardConf)

Definition at line 72 of file sarg-squidguard-block2.php.

◆ $url

if (!check_url( $url)) $url = $_GET['url']

Definition at line 42 of file sarg-squidguard-block2.php.

◆ $written

if ( $ha==false) $written = fwrite($ha, $url)

Definition at line 95 of file sarg-squidguard-block2.php.

◆ if

if = $url."\n"

◆ n< p >

gettext ("Done!")</p> n< p >

Definition at line 105 of file sarg-squidguard-block2.php.