$val) { if ($val->name == $options[1]) { $pos = $key; break; } } if (isset($pos)) { $cn = $row[$pos]; } } if (empty($cn)) { $cn = 'binary_file.dat'; } } return sprintf( '%s', $options['wrapper_link'], urlencode($cn), htmlspecialchars($cn), htmlspecialchars($cn) ); } ?>