上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 40 下一页
摘要: php textarea中的换行符为"\r\n"不是'\n'不是"<br />"不是'\r\n'不是'\r'+'\n' 阅读全文
posted @ 2011-05-19 16:43 xngeer 阅读(551) 评论(0) 推荐(0)
摘要: 文件目录:--index.php--php--data_info.phpindex.php这里要require_once类所在的php文件<?phprequire_once('./php/data_info.php'); $oneData=new user; $oneData->setName("username"); $oneData->setPassword("password"); echo $oneData->getName(); echo $oneData->getPassword();?>d 阅读全文
posted @ 2011-05-18 16:05 xngeer 阅读(299) 评论(1) 推荐(0)
摘要: @mysql_connect("localhost","username","password") or die("无法连接数据库"); @mysql_select_db("databasename") or die("未找到数据库"); getConnection(); $query="select definition,accession,gi from birds_nucleotide order by definition limit 0,200" 阅读全文
posted @ 2011-05-18 14:40 xngeer 阅读(238) 评论(0) 推荐(0)
摘要: 只有在同目录下的php文件,可用require_once("filename.php");在不同目录下的php文件,用相对所在目录的路径require_once('./php/data_fns.php');require_once('../data_fns.php'); 阅读全文
posted @ 2011-05-18 14:34 xngeer 阅读(196) 评论(0) 推荐(0)
摘要: <head> <link rel="stylesheet" type="text/css" href="style.css" /></head> 阅读全文
posted @ 2011-05-18 14:27 xngeer 阅读(802) 评论(0) 推荐(0)
摘要: File megBag=new File("src/resources/meg_data");fileList=megBag.listFiles(fileFilter); private static FileFilter fileFilter=new FileFilter(){ public boolean accept(File pathname) { String tmp=pathname.getName().toLowerCase(); if(tmp.endsWith(".ini") || tmp.endsWith(".INI" 阅读全文
posted @ 2011-05-11 12:50 xngeer 阅读(1095) 评论(0) 推荐(0)
摘要: 主要参考这篇http://apps.hi.baidu.com/share/detail/15868128但还是遇到一些问题,记录如下:1. 配置完成后,restart apache,出现the requested operation has failed查看log,有httpd.exe: Syntax error on line 129 of F:/work_soft/www/server/apache/conf/httpd.conf: Can't locate API module structure `php5_module' in file F:/work_soft/ww 阅读全文
posted @ 2011-04-06 10:06 xngeer 阅读(1535) 评论(1) 推荐(0)
摘要: 《自然杂志》(Nature Magazine)2010全集,更新至2011.3.10[PDF] http://www.verycd.com/topics/2881703/《科学杂志》(Science Magazine)2010全集,更新至2011.3.11[PDF] http://www.verycd.com/topics/2878918/《自然杂志》(Nature Magazine)2004-2008 待补充[PDF] http://www.verycd.com/topics/2733017/《科学杂志》(Science Magazine)2005-2008 已整理完[PDF] http:/ 阅读全文
posted @ 2011-04-02 10:16 xngeer 阅读(802) 评论(0) 推荐(0)
摘要: 我已经搞定啦,挺有意思的。还有加强版的,自己可以去搜一下 阅读全文
posted @ 2011-03-29 09:29 xngeer 阅读(643) 评论(0) 推荐(0)
摘要: centos自带JAVA,自己配置JDK后两者冲突它优先,要先把它原有的干掉http://zhidao.baidu.com/question/116115516.html 阅读全文
posted @ 2011-03-28 11:10 xngeer 阅读(269) 评论(0) 推荐(0)
摘要: import java.io.BufferedReader;import java.io.FileReader;import java.util.ArrayList;import java.util.List;public class SearchPro { public SearchPro() { // TODO Auto-generated constructor stub this.readFromFile("src/pros.txt"); } /** * @param args * @author frostbelt http://www.cnblogs.com/f 阅读全文
posted @ 2011-03-25 17:53 xngeer 阅读(257) 评论(0) 推荐(0)
摘要: 这是一个被F U C K的时代无才无德的我长了一个可爱的脑袋偶尔经历些挫折,遭受些无奈心平下来,感觉也不是很坏为了这一件赤裸的交易,爱情的买卖已经日升又月落,无数的等待到头来心灰意不冷,空受折磨我不想再要这跳跃的思维,可爱的脑袋跟谁都不许说,就这样背负着吧跟谁说都没用,这事得自己解决经验不能借来,她又不是她一切不出预料,这只是我走出的第一步罢了告诉别人吧,想寻求同情吗,他和她会开你几句玩笑?又有什么用呢?那薄如蝉翼的未来,经不起谁来拆。很快就会结束了 阅读全文
posted @ 2011-03-23 10:04 xngeer 阅读(120) 评论(1) 推荐(0)
摘要: 阅读全文
posted @ 2011-03-18 08:57 xngeer 阅读(133) 评论(0) 推荐(0)
摘要: RemoteClass 可以用来将一个ActionScript类绑定到一个Java类或一个ColdFusion CFC。这样做可以自动转换数据类型。例子:一个JAVA的INFO类:package java_files.entity;public class charaInfo { public String itemlabel; public String selectlabel; private String txtlabel; private String charalabel; private String selected; private String image; public c 阅读全文
posted @ 2011-03-11 16:38 xngeer 阅读(2662) 评论(0) 推荐(0)
摘要: //居中显示 var registerwindow:registerWindow=new registerWindow(); var W_width:Number=this.stage.stageWidth; var H_heigth:Number=this.stage.stageHeight; registerwindow.x=(W_width - registerwindow.width) / 2; registerwindow.y=(H_heigth - registerwindow.height) / 2; PopUpManager.addPopUp(registerwindow,th 阅读全文
posted @ 2011-03-11 13:46 xngeer 阅读(1320) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 40 下一页