View file katrinka.ru/admin/book_add.php
<?php include '../wap/config.php'; if (!($conn=pg_connect("host=$dbhost port=$dbport dbname=$dbname user=$dbuser password=$dbpass"))) { echo ("пЫЙВЛБ РПДЛМАЮЕОЙС Л вд!\n"); }; pg_query($conn,"SET CLIENT_ENCODING TO 'KOI8';"); pg_query($conn,"insert into wapgbk (mdate,mtime,message,ip,agent,uid) values ('now','now','$message','$REMOTE_ADDR','$HTTP_USER_AGENT','$uid');"); pg_close($conn); header("Location: book.php"); ?>