eZPublish  4.4
index_image_mysqli.php File Reference

Functions

 _die ($value)
 

Variables

 $filename = ltrim( $_SERVER['SCRIPT_NAME'], "/")
 
 $filePathHash = mysqli_real_escape_string( $db, $filename )
 
 $maxTries = 3
 
if(!$res=mysqli_query($db, $sql)) $row = mysqli_fetch_row( $res )
 
 $serverString = STORAGE_HOST
 
 $sql = "SELECT * FROM " . TABLE_METADATA . " WHERE name_hash=MD5('$filePathHash')"
 
 $tries = 0
 
if(!defined( 'STORAGE_SOCKET'))
define( 'STORAGE_SOCKET' 
false
 
const TABLE_DATA 'ezdbfile_data'
 
const TABLE_METADATA 'ezdbfile'
 

Function Documentation

_die (   $value)

Variable Documentation

$filename = ltrim( $_SERVER['SCRIPT_NAME'], "/")
$filePathHash = mysqli_real_escape_string( $db, $filename )
$maxTries = 3
if (!$res=mysqli_query($db, $sql)) $row = mysqli_fetch_row( $res )
$serverString = STORAGE_HOST
if ($row[0]!=$metaData['size']) $sql = "SELECT * FROM " . TABLE_METADATA . " WHERE name_hash=MD5('$filePathHash')"
$tries = 0
if (!defined( 'STORAGE_PORT')) define( 'STORAGE_PORT' false
const TABLE_DATA 'ezdbfile_data'
const TABLE_METADATA 'ezdbfile'