header("refresh:3;url=http://sitename.ru");
header("Location: http://sitename.ru");
echo "<p>Ваше сообщение отправлено. Спасибо.";
$view = new View('bla-bla'); // Имя файла application/views/bla-bla.php
error_reporting(E_ALL & ~E_STRICT); // Или другое на своё усмотрение
$data = explode('.', $post);
if($post != '.' && $post != '..' && end($data) == 'css'){
INSERT INTO `test_db_vytrat` (`id`, `user_id`, `data`, `cat`, `oper`, `suma_oper`, `balans`, `note`)
SELECT NULL as id, '{$_POST[uid]}' as user_id, '{$_POST[data]}' as data, ..., balans+1000 as balans, '{$_POST[note]}' as note from test_db_vytrat where user_id = 1 ORDER BY `id` DESC LIMIT 0 , 1;
echo $str; // ['data' : 'lorem', 'count' : 'infinity']
echo $str; // {'data' : 'lorem', 'count' : 'infinity'}
server {
listen 127.0.0.1:80;
listen 192.168.0.1:80;
...
.*
— работает?urlencode
SELECT * FROM
(SELECT DISTINCT position FROM paragraph
UNION
SELECT DISTINCT position FROM figure
) t1
LEFT JOIN paragraph USING (position)
LEFT JOIN figure USING (position)