先说明下我linux上的环境:
nginx + php(5.5.10) + mysql
开始的源码已经在本地写好,并调试成功(本地的环境是用XAMPP的默认配置),在把代码上传至linux上时,出现以下问题:
【1】写日志时:
PHP message: PHP Warning: fopen(log/log.log.141019): failed to open stream: Per...
分类:
数据库 时间:
2014-10-19 11:38:30
阅读次数:
139
1.###test how to write a list into txtdef write_txt(): file = open("write_test.txt", "w") a = [1,2,3,4] for i in a: file.write("posi%d...
分类:
编程语言 时间:
2014-10-19 11:24:59
阅读次数:
187
Sculptor is an open source productivity tool that applies the concepts fromDomain-Driven DesignandDomain Specific Languagesfor generating high quality...
分类:
Web程序 时间:
2014-10-19 01:16:48
阅读次数:
181
============问题描述============ 分享100个开源android项目源码连接地址:https://github.com/lancelothuxi/android-open-project ======...
分类:
移动开发 时间:
2014-10-18 23:55:40
阅读次数:
308
以前一直想写博客,但因各种因素一直没写。最近在做OpenStack,而OpenStack对外提供REST API,今天就简要介绍一下OpenStack REST API 使用,关于什么是REST API可以参考以下两篇博文:http://www.choudan.net/2013/07/28/Open...
#include using namespace std;int main(int argc, char** argv){ // 1 open fstream objTestFile("file_test/tmp_out_app.txt", ios::in); // 2...
分类:
编程语言 时间:
2014-10-18 18:16:22
阅读次数:
152
http://sourceforge.net/projects/mingw/files/ HKEY_CLASSES_ROOT\exefile\shell\open\COMMAND dos查看文件关联 ASSOC HKEY_CURRENT_USER\Software\Microsoft\Windows...
分类:
Web程序 时间:
2014-10-18 16:45:33
阅读次数:
201
ShellExecute( hWnd: HWND; {指定父窗口句柄} Operation: PChar; {指定动作, 譬如: open、print} FileName: PChar; {指定要打开的文件或程序} Parameters: PChar; {给要打开的程序指定参...
分类:
其他好文 时间:
2014-10-18 15:29:08
阅读次数:
119
函数名:open功能:打开一个文件用于读或写用法:intopen(char*pathname,intaccess[,intpermiss]);程序例:#include#include#include#includeintmain(void){inthandle;charmsg[]="Hellowor...
分类:
其他好文 时间:
2014-10-18 15:21:58
阅读次数:
171
数据库命名约定sqlite3_open()API用到数据库的文件名,可以是相对当前工作目录的相对路径名,也可以是从系统根文件树开始的完整路径名。任何被本地文件系统接受的正规文件名都是好的。如果文件名是C语言中的NULL指针(即,0),SQlite创建并打开一个临时文件。如果文件名是内存地址,SQLi...
分类:
数据库 时间:
2014-10-18 12:37:40
阅读次数:
745