ДК
Size: a a a
ДК
ВС
ВС
ИК
ВС
S
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-s
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php [NC,L]
ИК
ИК
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-s
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php [NC,L]
S
ИК
б
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-s
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php [NC,L]
б
I
A
$preg_grep = preg_grep("/(avcodec debug: enabling direct rendering).{1,9999}(avcodec warning: disabling direct rendering)/m",$fileIn);искать многострочно?
R
VM
VM
A
motiondetect debug: Counted 0 moving shapes.
motiondetect debug: Counted 1 moving shapes.
avcodec debug: enabling direct rendering
motiondetect debug: Counted 0 moving shapes.
motiondetect debug: Counted 0 moving shapes.
motiondetect debug: Counted 1 moving shapes.
avcodec warning: plane 0 not aligned
avcodec warning: disabling direct rendering
motiondetect debug: Counted 0 moving shapes.
motiondetect debug: Counted 0 moving shapes.
motiondetect debug: Counted 0 moving shapes.
$fileIn = file("test.txt");
$preg_grep = preg_grep("/(avcodec debug: enabling direct rendering).{1,9999}(avcodec warning: disabling direct rendering)/g",$fileIn);
var_dump($preg_grep);
bool(false)
R
motiondetect debug: Counted 0 moving shapes.
motiondetect debug: Counted 1 moving shapes.
avcodec debug: enabling direct rendering
motiondetect debug: Counted 0 moving shapes.
motiondetect debug: Counted 0 moving shapes.
motiondetect debug: Counted 1 moving shapes.
avcodec warning: plane 0 not aligned
avcodec warning: disabling direct rendering
motiondetect debug: Counted 0 moving shapes.
motiondetect debug: Counted 0 moving shapes.
motiondetect debug: Counted 0 moving shapes.
$fileIn = file("test.txt");
$preg_grep = preg_grep("/(avcodec debug: enabling direct rendering).{1,9999}(avcodec warning: disabling direct rendering)/g",$fileIn);
var_dump($preg_grep);
bool(false)
/avcodec debug: enabling direct rendering.*avcodec warning: disabling direct rendering/s