<?php $content = 'URL запроса: http://www.google.com/search?&hl=en&ie=UTF-8&q=site:.org.jm+inurl:"addguest.htm"+intext:register+site&num=100 Error: Is not found of any document appropriate to inquiry STATUS :Получено 0 URL.'; preg_match('/inurl:"([^"]*)".*intext:([^\+|^\n]*).*STATUS :Получено (.+) URL/ism', $content, $match); echo('inurl: ' . $match[1] . '<br>'); echo('intext: ' . $match[2] . '<br>'); echo('Получено: ' . $match[3] . ' URL'); ?>
preg_match_all('#<div.*?>.*?)</div>#is' ", $content, $text));
preg_match_all('#<div.*?>.*?)</div>#is', $content, $text));
preg_match_all('#<div.*?>.*?</div>#is', $content, $text);
index.php?do=music&act=mus&cat=othertext
music/othertext/
index.php?do=music&act=song&id=5
music/5/
/index.php?do=music&act=mus&cat=super&page=5
/music/super/page/5/
RewriteEngine On RewriteBase / RewriteRule ^music/([a-zA-Z0-9]+)/$ index.php?do=music&act=mus&cat=$1 [L]
RewriteEngine On RewriteBase / RewriteRule ^music/([0-9]+)/$ index.php?do=music&act=song&id=$1 [L]
RewriteEngine On RewriteBase / RewriteRule ^music/([a-zA-Z0-9]+)/page/([0-9]+)/$ index.php?do=music&act=mus&cat=$1&page=$2 [L]