Home > Backend Development > PHP Tutorial > 求问discuz帖子写入数据库文件,该怎么解决

求问discuz帖子写入数据库文件,该怎么解决

WBOY
Release: 2016-06-13 12:12:41
Original
1352 people have browsed it

求问discuz帖子写入数据库文件
求问下discuz3.2版本,写入数据库的文件是不是forum_post.php


主要是哪一段?


是不是这一段 ,但看着不像啊:

$extra = !empty($_GET['extra']) ? rawurlencode($_GET['extra']) : '';<br />$notifycheck = empty($emailnotify) ? '' : 'checked="checked"';<br />$stickcheck = empty($sticktopic) ? '' : 'checked="checked"';<br />$digestcheck = empty($addtodigest) ? '' : 'checked="checked"';<br /><br />$subject = isset($_GET['subject']) ? dhtmlspecialchars(censor(trim($_GET['subject']))) : '';<br />$subject = !empty($subject) ? str_replace("\t", ' ', $subject) : $subject;<br />$message = isset($_GET['message']) ? censor($_GET['message']) : '';<br />$polloptions = isset($polloptions) ? censor(trim($polloptions)) : '';<br />$readperm = isset($_GET['readperm']) ? intval($_GET['readperm']) : 0;<br />$price = isset($_GET['price']) ? intval($_GET['price']) : 0;<br />
Copy after login

------解决思路----------------------
为了点积分 头像换了居然说未完成
------解决思路----------------------
在 source\class\model 目录下的两个文件里面

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template