本文目录一览:
- 1、喜儿 天空之城歌词
- 2、有首网络歌,我不知道名字,但知道 一段大段歌词,说知道那歌名叫什么?
- 3、http://www.name321.com/chest/bz.php
- 4、uploadify批量上传??
- 5、php做微信支付 返回受理机构必须传入sub_mch_id 的错误 该怎么解决
- 6、用PHP正则将任何URL从文章中匹配出来,例如:http://zhidao.baidu.com/q?ct=17&pn=0&tn=ikask&rn=12&word
喜儿 天空之城歌词
天空之城是动画吖,它的主题曲叫伴随着你:
歌曲:君をのせて
歌手:井上杏美 专辑:天空之城
[ti:君をのせて]
[ar:井上杏美]
[al:天空之城]
~天空の城ラピュタ~ed
作词:宫崎骏
作曲:久石譲
编曲:久石譲
あの地平线辉くのは
どこかに君をかくしているから
たくさんの灯がなつかしいのは
あのどれかひとつに君がいるから
さあでかけようひときれのパン
ナイフ ランプかばんにつめこんで
父さんが残した热い想い
母さんがくれたあのまなざし
地球はまわる君をかくして
辉く瞳きらめく灯
地球はまわる君をのせて
いつかきっと出会うぼくらをのせて
父さんが残した热い想い
母さんがくれたあのまなざし
地球はまわる君をかくして
辉く瞳きらめく灯
地球はまわる君をのせて
いつかきっと出会うぼくらをのせて
ano chiheisen kagayaku no wa
doko ka ni kimi o kakushite iru kara
taku-san no hi ga
natsukashii no wa
ano dore ka hitotsu ni
kimi ga iru kara
saa dekake you
hitokire no PAN
NAIFU, RANPU kaban ni tsume konde
do-san ga nokoshita atsui omoi
ka-san ga kureta ano manazashi
chikyuu wa mawaru kimi o kakushite
kagayaku hitomi kirameku tomoshibi
chikyuu wa mawaru kimi o nosete
itsuka kitto deau
bokura o nosete
do-san ga nokoshita atsui omoi
ka-san ga kureta ano manazashi
chikyuu wa mawaru kimi o kakushite
kagayaku hitomi kirameku tomoshibi
chikyuu wa mawaru kimi o nosete
itsuka kitto deau
bokura o nosete
地平线之所以闪耀
是因为有东西把你匿藏
无数灯火之所以令我怀念
是因为有你在其中
所以我把
面包,小刀,油灯塞进包里
出发了
父亲留下的怀念
无亲给我的眼神
地球旋转而把你匿藏
发亮的眼睛闪烁的灯
载着不久即会相见的我们
父亲留下的怀念
无亲给我的眼神
地球旋转而把你匿藏
发亮的眼睛闪烁的灯
载着不久即会相见的我们
下面的有八音盒试听:
下载:
其实去百度上搜索就有很多了...
有首网络歌,我不知道名字,但知道 一段大段歌词,说知道那歌名叫什么?
歌曲:当我睁开双眼
歌手:丁汀
所属专辑:丁汀历险记
丁汀-当我睁开双眼
在梦中我看到幻境
爱到最后是谁会赢
当初你说过的话
一种安慰的声音
当我把心慢慢的打开
暗淡的街灯孤苦伶听
我害怕醒来不敢睁开双眼
现实中像梦中一样冷清
本能平静的心等待你的回应
当我把双眼慢慢的打开
去感受你的爱
当我把双眼慢慢的睁开
你并没有回来
你总是若即若离
我在海底试着呼吸
寒风擦身而过
绝望将战胜勇气
要如何决定忘记过去
忘记曾经的点点滴滴
我无法承受这残酷的爱
不愿欠下这一生还不完的债
去感受你的爱
当我把双眼慢慢的睁开
你并没有回来
当我把心慢慢的打开
从梦中醒过来
当我把双眼慢慢的睁开
一切已不存在
当我把心慢慢的打开
去感受你的爱
当我把双眼慢慢的睁开
你并没有回来
当我把心慢慢的打开
从梦中醒过来
当我把双眼慢慢的睁开
一切已不存在
http://www.name321.com/chest/bz.php
你深厌束缚的天性使得你纵使在在婚姻中仍需维持某种程度的独立自主,你的伴侣对这点特质切记须予以尊重和谅解,才能维系良好的感情,因为让你感到受困是种不智之举,你会力求脱困,如果对你绑得愈紧,那麽你跑得愈快,最高层次的作法就像如来佛对孙猴子一般,让他(她)感觉海阔天空,实情则为他(她)仍在你掌握之中。事实上即使伴侣温柔而体谅,你依然喜欢独处,而不喜欢别人的干扰,你认为享受孤独是一件美妙的艺术。你婚姻生活稳定,会忠於爱人,不过却不解风情。
财富与地位这类外在条件对你而言并不怎麽重要,而一个有足够的智慧与开阔胸襟的人能陪着你追寻理想的人对你却有致命的吸引力,“人生”对你来说,是一场无尽的探索。你喜欢聪明、博学或是具有丰富知识的人;醋桶奇大,占有欲强,脑筋不会转弯的人都不适合你的胃口。重视精神层面,因此对肉体吸引的感应力较弱,沉迷於恋爱的过程而非结果。
性爱对於你来说,只是一种知识的追寻,你可能有丰富的理论、高明的技巧,但是却难有遏抑不住的激情,往往控制得很好不会有太激动的表现。
星座运势:2008年
年运势:水瓶座
整体运势:★★
2008年水瓶座的朋友们运气不是太好,要谨记“行事低调”和“放平心态”8字方针。这一年对于水瓶座的朋友们可以说是黎明曙光之前的黑暗,是你人生新页展开前的变动过渡期,接下来的一年,是居处环境,周遭人事会有不小的改变,会有不如意,让你沮丧的事,某段期间会过的相当沈潜低调。
恋情指数:★★★
2008恋爱运最旺的月份:3、6月
水瓶座在2008的恋爱运势还不错,尤其6月,你的生活开始变得热闹起来,紧绷的心情放松不少,单身的水瓶们千万记得多出去走动,以免平白失去许多认识新对象的好机会!而有伴的水瓶们会和情人一同外出游玩,去一些新奇有趣的地方,为两人的交往制造许多美好的记忆!
工作事业:★★
面临一些纠杂不清的矛盾低调回避,有时候的确个不是办法的好办法。也许你会常常觉得无奈和沮丧,对于面临不顺的人们这是人之常情,但是要注意不要把过多的沮丧的低气场带到工作中,这样只能让你的事业更加不顺,保持良好心态,才是让你坦然渡过低沉期的不二法宝。
财运:★★
这段时间水瓶座的朋友们要注意理性开支,购物和吃喝玩乐也许能暂缓你低落的心情,确是治标不治本的笨方法。虽然2008年不会有太意外的大开销,但是如果控制不当,平时的点点滴滴的消费累积最后也会让你大吃一惊。
uploadify批量上传??
创建了一个web project
commons-fileupload-1.2.2.jar
commons-io-2.0.1.jar
首先把这两个jar文件引入了path
然后创建了一个servlet
Upload.java(用的MyEclipse自动配置了web.xml部署描述符)
[java] view plaincopy
//Upload.java
package com.uploadify.servlet;
import java.io.File;
import java.io.IOException;
import java.util.Iterator;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.fileupload.FileItem;
import org.apache.commons.fileupload.FileUploadException;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.fileupload.servlet.ServletFileUpload;
import com.uploadify.utils.IPTimeStamp;
public class Upload extends HttpServlet {
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
this.doPost(request, response);
}
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String savePath = this.getServletConfig().getServletContext()
.getRealPath("");
// 得到项目的工作目录
savePath = savePath + "/uploads/";
File f1 = new File(savePath);
// 如果没有的话就创建目录
if (!f1.exists()) {
f1.mkdirs();
}
DiskFileItemFactory fac = new DiskFileItemFactory();
ServletFileUpload upload = new ServletFileUpload(fac);
upload.setHeaderEncoding("utf-8");
List fileList = null;
try {
fileList = upload.parseRequest(request);
} catch (FileUploadException ex) {
return;
}
IteratorFileItem it = fileList.iterator();
String name = "";
String extName = "";
while (it.hasNext()) {
FileItem item = it.next();
if (!item.isFormField()) {
// 解析文件
name = item.getName();
long size = item.getSize();
String type = item.getContentType();
if (name == null || name.trim().equals("")) {
continue;
}
// 得到文件的扩展名
if (name.lastIndexOf(".") = 0) {
extName = name.substring(name.lastIndexOf("."));
}
File file = null;
do {
// 利用客户端IP+时间+三位随机数字生成非重复文件名:
name = new IPTimeStamp().getIPTimeStampRandom();
file = new File(savePath + name + extName);
} while (file.exists());
File saveFile = new File(savePath + name + extName);
try {
item.write(saveFile);
} catch (Exception e) {
e.printStackTrace();
}
}
}
response.getWriter().print(name + extName);
}
}
生成文件名字的Utils类,可以清楚的记录名字,然后对上传的文件进行处理,并且防止文件名字重复
[java] view plaincopy
//PTimeStamp.java
package com.uploadify.utils;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Random;
public class IPTimeStamp {
private String ip;
private Date date;
private SimpleDateFormat format;
public IPTimeStamp() {
try {
ip = InetAddress.getLocalHost().getHostAddress();
} catch (UnknownHostException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
public String getTimeStamp() {
format = new SimpleDateFormat("yyyyMMddHHmmssSSS");
return format.format(new Date());
}
public String addZero(String str, int len) {
StringBuffer sb = new StringBuffer();
sb.append(str);
while (sb.length() len) {
sb.insert(0, "0");
}
return sb.toString();
}
public String getIPTimeStampRandom() {
StringBuffer sb = new StringBuffer();
String[] ips = this.ip.split("\\.");
for (int j = 0; j ips.length; j++) {
// System.out.println(ips[j]);
sb.append(this.addZero(ips[j], 3));
}
sb.append(this.getTimeStamp());
Random rod = new Random();
for (int i = 0; i 3; i++) {
sb.append(rod.nextInt(10));
}
return sb.toString();
}
}
部署描述符
[html] view plaincopy
!--web.xml--
?xml version="1.0" encoding="UTF-8"?
web-app version="2.4"
xmlns=""
xmlns:xsi=""
xsi:schemaLocation="
"
servlet
servlet-nameUpload/servlet-name
servlet-classcom.uploadify.servlet.Upload/servlet-class
/servlet
servlet-mapping
servlet-nameUpload/servlet-name
url-pattern/Upload/url-pattern
/servlet-mapping
welcome-file-list
welcome-fileindex.jsp/welcome-file
/welcome-file-list
/web-app
在WebROOT下面创建folder-js
放入解压包里面的
jquery.uploadify.v2.1.4.js
jquery.uploadify.v2.1.4.min.js
jquery-1.4.2.min.js
swfobject.js
css-
uploadify.css
images-
cancel.png
[html] view plaincopy
!--index.jsp--
%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%
%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
html
head
base href="%=basePath%"
titleMy JSP 'index.jsp' starting page/title
meta http-equiv="pragma" content="no-cache"
meta http-equiv="cache-control" content="no-cache"
meta http-equiv="expires" content="0"
meta http-equiv="keywords" content="keyword1,keyword2,keyword3"
meta http-equiv="description" content="This is my page"
link href="css/uploadify.css" rel="stylesheet" type="text/css" /
script type="text/javascript" src="js/jquery-1.4.2.min.js"/script
script type="text/javascript" src="js/swfobject.js"/script
script type="text/javascript" src="js/jquery.uploadify.v2.1.4.js"/script
script type="text/javascript"
$(document).ready(function() {
$("#uploadify").uploadify({
'uploader' : 'uploadify.swf',
'script' : 'Upload',
'cancelImg' : 'images/cancel.png',
'folder' : 'uploads',
'queueID' : 'fileQueue',
'auto' : false,
'multi' : true,
'simUploadLimit' : 2,
'buttonText' : 'BROWSE'
});
});
/script
/head
body
div id="fileQueue"/div
input type="file" name="uploadify" id="uploadify" /
p
a href="javascript:jQuery('#uploadify').uploadifyUpload()"开始上传/a
a href="javascript:jQuery('#uploadify').uploadifyClearQueue()"取消所有上传/a
/p
/body
/html
php做微信支付 返回受理机构必须传入sub_mch_id 的错误 该怎么解决
余诗华为诗歌而生的,诗野,朴实,蕴深,生活,升华。祝愿身体健康。我写这段与诗歌有关的文字,你真是个可爱的小女生,生活里的点点滴滴都变成了诗歌。在嘈杂的网吧,
用PHP正则将任何URL从文章中匹配出来,例如:http://zhidao.baidu.com/q?ct=17&pn=0&tn=ikask&rn=12&word
`I shall have my supper in another room,' I said. `Have you no place you call a parlour?'
`Parlour!' he echoed sneeringly, `parlour! Nay, we've noa parlours. If yah dunnut loike wer company, there's maister's; un' if yah dunnut loike maister, there's us.
`Then I shall go upstairs!' I answered; `show me a chamber.' I put my basin on a tray, and went myself to fetch some more milk. With great grumblings, the fellow rose, and preceded me in my ascent: we mounted to the garrets; he opening a door, now and then, to look into the apartments we passed.
`Here's a rahm,' he said, at last, flinging back a cranky board on hinges. `It's weel eneugh tuh ate a few porridge in. They's a pack o' corn i' t' corner, thear, meeterly clane; if yah're feared uh muckying yer grand silk cloes, spread yer hankerchir o' t' top on't.'
The `rahm' was a kind of lumber-hole smelling strong of malt and grain; various sacks of which articles were piled around, leaving a wide, bare space in the middle.
`Why, man!' I exclaimed, facing him angrily,coach outlet, `this is not a place to sleep in. I wish to see my bedroom.
`Bed-rume!' he repeated, in a tone of mockery. `Yah's see all t' bed-rumes thear is--yon's mine.'
He pointed into the second garret, only differing from the first in being more naked about the walls, and having a large, low, curtainless bed, with an indigo-coloured quilt at one end.
`What do I want with yours?' I retorted. `I suppose Mr Heathcliff does not lodge at the top of the house, does he?'
`Oh! it's Maister Hathecliff's yah're wenting!' cried he, as if making a new discovery. `Couldn't ye uh said soa, at onst? un then, Aw mud uh telled ye, baht all this wark,christian louboutin uk, ut that's just one yah cannut sea--he alIas keeps it locked, un nob'dy iver mells on't but hisseln.'
`You've a nice house, Joseph,' I could not refrain from observing, `and pleasant inmates; and I think the concentrated essence of all the madness in the world took up its abode in my brain the day I linked my fate with theirs! However, that is not to the present purpose--there are other rooms. For heaven's sake be quick, and let me settle somewhere!'
He made no reply to this adjuration; only plodding doggedly down the wooden steps, and halting before an apartment which, from that halt and the superior quality of its furniture, I conjectured to be the best one. There was a carpet: a good one, but the pattern was obliterated by dust; a fireplace hung with cut paper, dropping to pieces; a handsome oak bedstead with ample crimson curtains of rather expensive material and modern make; but they had evidently experienced rough usage: the valances hung in festoons, wrenched from their rings, and the iron rod supporting them was bent in an arc on one side, causing the drapery to trail upon the floor. The chairs were also damaged, many of them severely; and deep indentations deformed the panels of the walls. I was endeavouring to gather resolution for entering and taking possession, when my fool of a guide announced, `This here is t' maister's.' My supper by this time was cold, my appetite gone,clarks shoes, and my patience exhausted. I insisted on being provided instantly with a place of refuge,clarks shoes uk, and means of repose.