Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1285088
  • 博文数量: 273
  • 博客积分: 5865
  • 博客等级: 准将
  • 技术积分: 3280
  • 用 户 组: 普通用户
  • 注册时间: 2010-11-11 10:01
文章分类

全部博文(273)

文章存档

2015年(33)

2014年(11)

2013年(11)

2012年(136)

2011年(32)

2010年(50)

分类: 网络与安全

2014-07-16 10:45:15

insert into qa_posts set type='A',parentid='12',userid='1',created=now(),format='html',content='add answers',notify='@';


$fp = fopen(QA_INCLUDE_DIR."error.txt",'a');
fwrite($fp,print_r($qa_modules[$type],true));



q2a 不能写到当前路径什么的.要用QA_INDCLUDE_DIR

qa-page-token.php 设置浏览器不能读  权限设置

// file_put_contents(QA_INCLUDE_DIR."error.txt",  $qa_modules,FILE_APPEND);

//fwrite($fp,print_r($obj,true));


$qa_content=qa_content_prepare();
$qa_content['weilu']['items'][0]['label']=' admin';
$qa_content['weilu']['items'][0]['content']='Do what you want, learning by doing!';
return $qa_content;


function weilu($weilu)
{


   $this->output('  

'.$weilu['items'][0]['label'].'

');
   $this->output('  

'.$weilu['items'][0]['content'].'

');
}

.qa-part-weilu{
    background-color: transparent;
    background-image: url('');
    background-repeat: repeat-x;
    background-position: left bottom;
  
padding: 16px 0;
clear: both;
float: left;
width: 100%;
}



阅读(1256) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~