摘要: 全文见 http://cffile.sinaapp.com/?p=163****************得到当前路径File f = new File(".");String absolutePath = f.getAbsolutePath();System.out.println(absolutePath);1.路径中空格:String pathtem=null;URL ut=Thread.currentThread().getContextClassLoader().getResource("");pathtem=ut.toString();path 阅读全文
posted @ 2011-12-09 10:47 cffile 阅读(339) 评论(0) 推荐(0) 编辑
摘要: //////////////////////////////////////////////////////////////php上传文件示例php可以在我的编程日记: http://cffile.sinaapp.com/?p=145 中下载 打开php.ini,首先找到 ;;;;;;;;;;;;;;;; ; File Uploads ; ;;;;;;;;;;;;;;;; 区域,有影响文件上传的以下几个参数:file_uploads = on ;是否允许通过HTTP上传文件的开关。默认为ON即是开upload_tmp_dir ;文件上传至服务器上存储临时文件的地方,如果没指定就会用系统默认的临 阅读全文
posted @ 2011-12-06 10:36 cffile 阅读(598) 评论(0) 推荐(0) 编辑
摘要: 免费提供人人日志和博客 qq空间播放音乐、视频、mp3、swf等服务,速度快,发送mp3或相关文件至czhong3@163.com ,返回链接,此链接可以放到人人日志和博客里。 效果如 http://blog.renren.com/blog/200158054/783407572 所示 qq空间背景... 阅读全文
posted @ 2011-12-04 00:19 cffile 阅读(458) 评论(0) 推荐(0) 编辑
摘要: ......全谱见 http://cffile.sinaapp.com/?p=103 阅读全文
posted @ 2011-11-27 20:30 cffile 阅读(144) 评论(0) 推荐(0) 编辑
摘要: ......全谱见 http://cffile.sinaapp.com/?p=99 阅读全文
posted @ 2011-11-27 20:28 cffile 阅读(455) 评论(0) 推荐(0) 编辑
摘要: //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////... 阅读全文
posted @ 2011-11-25 19:08 cffile 阅读(883) 评论(0) 推荐(1) 编辑
摘要: 微博应用-好友解密 http://apps.weibo.com/friendsec 推 出新业务-论坛帐号自动托管。防止论坛帐号(马甲号)长时间没上被回收、特权(版主、隐身等等)被取消等等;论坛帐号自动涨经验。论坛帐号自动托管业务将 于每天早上六点左右自动帮您登录帐号。信誉第一,保证帐号安全,如果您不放心,您可以改了密码再托管,当您要重新使用时再改密码。 如果有什么新需求,可发信到 czhong3@163.com 。 ps:我自己在上面托管了2个求实bbs帐号,2个水木社区帐号,1个未名帐号,1个北邮人帐号,1个人人帐号,1个天涯帐号。 全文见 http://cffile.sina... 阅读全文
posted @ 2011-11-21 23:19 cffile 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 在vc gcc中,常常遇到各种字符类型,各种不同字符类型转换就成了一个大问题,下面是一个总结1. 1.1 char*2int char *numstr = "1234"; int val = atoi(numstr);1.2 char*2double char *numstr = "12.34"; double val = atof(numstr);2.CString2LPCTSTR char *p="fdl"; CString strd(p); LPCTSTR lps = (LPCTSTR)strd;3. LPCTSTR2CStri 阅读全文
posted @ 2011-11-19 08:20 cffile 阅读(1172) 评论(0) 推荐(0) 编辑
摘要: //////////////////////////////////////////telnet部分安装好后,安装web部分,按照步骤弄完之后,在浏览器中访问http://localhost,显示shm_utmp error/**/这个是共享内存初始化失败,处理方法:1.切到root,ps -ef看一下telnet apache进程,kill它们。也可以killall bbsd 、httpd,2.清一下共享内存:ipcs -m | awk '$0~/bbs/ {system(sprintf("ipcrm shm %s",$2));}'3.重新启动bbs,最好 阅读全文
posted @ 2011-11-15 09:57 cffile 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 新文章移至http://cffile.sinaapp.com/?p=53Android_Hello World-z一个闪屏的Android示例程序-zandroid_snake-zAndroid_notepad-z 阅读全文
posted @ 2011-11-01 21:40 cffile 阅读(130) 评论(0) 推荐(0) 编辑
google