
09.10.2009, 00:17
|
|
Участник форума
Регистрация: 15.03.2009
Сообщений: 183
С нами:
9030530
Репутация:
160
|
|
Сообщение от Failure
PHP код:
$post_data = Array(
'icon' => 0,
'subject' => $subj,
'addbbcode20' => 100,
'helpbox' => 'Совет: Можно быстро применить стили к выделенному тексту.',
'message' => $msg,
'attach_sig' => 'on',
'topic_type' => 0,
'topic_time_limit' => 0,
'post' => 'Отправить',
'filecomment' => '',
'poll_title' => '',
'poll_option_text' => '',
'poll_max_options' => 1,
'poll_length' => 0,
'lastclick' => 1255029837,
'creation_time' => 1255029837,
'form_token' => $sid
);
$post_data = http_build_query($post_data);
$out = "GET http://site.ru/posting.php?mode=post&f=2&sid=".$sid." HTTP/1.1\r\n";
$out .= "Host: site.ru\r\n";
$out .= "Accept-Charset: utf-8;q=0.7\r\n";
$out .= "Content-Type: multipart/form-data\r\n";
$out .= "Cookie: ".$c."\r\n";
$out .= "Content-lenght: ".strlen($post_data)."\r\n\r\n".$post_data."\r\n";
/*
$c = печенье
$sid = securityid
$subj & $msg понятно
*/
то что показал HTTPAnalyzer =\
не создает тему
UPD: ссылку на форум дать не могу соре=\ последняя версия phpbb
да уж =/
|
|
|