php.ini
error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_CORE_WARNING & ~E_NOTICE & ~E_WARNING
APACHE配置
ERROR | Alias /ss "E:/work/scrapytest/phpsrc" | 6:28:08 [Apache] Error: Apache shutdown unexpectedly. |
OK | Alias /ss "E:/work/scrapytest/phpsrc" |
.frm .myd .myi导入mysql数据库
.frm格式就直接放到MYSQL的安装目录下的DATA文件夹中
php的session_register函数已经废除, 删除就可以了。
// session_register("USERNAME");
// session_register("USERID");
scrapy
scrapy startproject blogtastic
cd blogtastic
scrapy genspider blogtastic blogtastic.com
pydev + scrapy
from: http://stackoverflow.com/questions/9809656/scrapy-eclipse-pydev-how-to-setup-the-debugger
import scrapy.cmdline
def main():
scrapy.cmdline.execute(argv=['scrapy', 'crawl', 'wiki'])
if __name__ =='__main__':
main()