【 スクリプト改造依頼スレ 】(丸投げ) part2
■ このスレッドは過去ログ倉庫に格納されています
0462nobodyさん
04/10/18 15:21:05ID:???+++ ibbs.php Mon Oct 18 14:23:12 2004
@@ -546,10 +546,11 @@
// 新No.
$newnum = $num+1;
$font = $post['font'].";".$post['hr'];
+ $post['name2'] = trip($post['name']);
$post['pass'] = crypt($post['delkey'], my_crypt($post['delkey']));
// 先頭用データ、記事データ生成
- $newfline = "$newnum<>{$post['name']}<>{$post['comment']}<>{$post['ip']}<>".time()."\n";
- $newline = "$newnum<>{$post['now']}<>{$post['name']}<>{$post['email']}<>{$post['subject']}<>「改行」
{$post['comment']}<>{$post['url']}<>$font<>{$post['ico']}<>{$post['type']}<>{$post['pass']}<>{$post['ip']}<><>\n";
+ $newfline = "$newnum<>{$post['name2']}<>{$post['comment']}<>{$post['ip']}<>".time()."\n";
+ $newline = "$newnum<>{$post['now']}<>{$post['name2']}<>{$post['email']}<>{$post['subject']}<>「改行」
{$post['comment']}<>{$post['url']}<>$font<>{$post['ico']}<>{$post['type']}<>{$post['pass']}<>{$post['ip']}<><>\n";
// クッキーセット、2週間有効
setcookie("ibbs[name]", $post['name'], time()+14*86400);
setcookie("ibbs[email]", $post['email'], time()+14*86400);
■ このスレッドは過去ログ倉庫に格納されています