Поиск по сайту

Результаты поиска: «determine»

Найдено совпадений: 6

А вот код страницы pagination.php которую надо исправить:
<?php
/*******************************
 PAGINATION
********************************
 * Retrieve or display pagination code.
 *
 * The defaults for overwriting are:
 * 'page' - Default is null (int). The current page. This function will
 *      automatically determine the value.
 * 'pages' - Default is null (int). The total number of pages. This function will
 *      automatically determine the value.
 * 'range' - Default is 3 (int). The number of page links to show before and after
 *      the current page.
 * 'gap' - Default is 3 (int). The minimum number of pages before a gap is...
4,ридми же в архиве есть))
"Usage

phpWatermark is implemented as a PHP class. Thus you first need to instantiate it with the source image as the only parameter:

$wm = new watermark("/path/to/images/image.png");
Next you may specify where the watermark should be put on the source image by calling setPosition. Valid parameters for setPosition are:

TL - Top left
TM - Top middle
TR - Top right
CL - Center left
C - Center
CR - Center right
BL - Bottom left
BM - Bottom middle
BR - Botton right

Or:+--+--+--+
|TL|TM|TR|
+--+--+--+
|CL|C |CR|
+--+--+--+
|BL|BM|BR|
+--+--+--+

As a gimmick...
Dear Mr.***,

Please note that your account is temporarily suspended pending a full investigation by our poker team. The reason for this decision is we have initially detected suspicious activity linked to your account within our room.

Our software providers Boss Media have a dedicated team who monitor historical game data to determine whether there is any play deemed as unusual. This is done for a number of palpable reasons; one reason for example is to establish whether there is any collusion, which some players may attempt in order to gain a distinct yet unfair advantage against their opponents. This...
ОС Ubuntu 13.10, после установки апаче2 вышла эта ошибка, как устранить ее?
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
полное описание ошибки
<?
$page = "user_editprofile_photo";
include "header.php";

if(isset($_POST)) { $task = $_POST; } elseif(isset($_GET)) { $task = $_GET; } else { $task = "main"; }

// CHECK FOR ADMIN ALLOWANCE OF PHOTO
if($user->level_info == 0) { header("Location: user_home.php"); exit(); }

// SET ERROR VARIABLES
$is_error = 0;
$error_message = "*** какая то";

// DELETE PHOTO
if($task == "remove") { $user->user_photo_delete(); $user->user_lastupdate(); }

// UPLOAD PHOTO
if($task == "upload") {
$user->user_photo_upload("photo");
$is_error = $user->is_error;
$error_message = $user->error_message;
if($is_error == 0) {

// SAVE LAST UPDATE DATE
$user->user_lastupdate();

// DETERMINE SIZE OF THUMBNAIL TO SHOW IN ACTION
$photo_width = $misc->photo_size($user->user_photo(), "100", "100", "w");...
861. Барыга Обама, попробуй создать файл /etc/udev/rules.d/10-mount.rules например. Ну, и сам скрипт:
#make dir 4 mount point
SUBSYSTEM=="block", KERNEL=="sd[b-z][0-9]", ACTION=="add", ENV{mount_point}="/mnt/%k", RUN+="/bin/mkdir -p %E{mount_point}"

#determine mount options
SUBSYSTEM=="block", KERNEL=="sd[b-z][0-9]", ACTION=="add", ENV{mount_options}="noatime,noauto,users,gid=100,umask=002,utf8"

#look for fs and mount it
SUBSYSTEM=="block", KERNEL=="sd[b-z][0-9]", ACTION=="add", PROGRAM=="/sbin/blkid -o value -s TYPE dev%k", RESULT=="vfat", RUN+="/bin/mount -o %E{mount_options} -t vfat dev%k mnt%k"
SUBSYSTEM=="block", KERNEL=="sd[b-z][0-9]", ACTION=="add", PROGRAM=="/sbin/blkid -o value -s TYPE dev%k", RESULT=="ntfs", RUN+="/bin/mount -o %E{mount_options} -t fuseblk dev%k mnt%k"
SUBSYSTEM=="block", KERNEL=="sd[b-z][0-9]", ACTION=="add", PROGRAM=="/sbin/blkid -o value -s TYPE dev%k", RESULT!="vfat|ntfs", RUN+="/bin/mount -o %E{mount_options} -t auto dev%k mnt%k"

#get label of device and make symbolic link in /media
SUBSYSTEM=="block",...