Archive for 四月, 2010
珍惜
星期二, 四月 20th, 2010
想要放弃的时候,多想想她的好!
我每次生气的时候都这么对自己说。
可快没有了。
我珍惜我们的感情,她身上却看不到
如果可以排名的话
她自己,自由随心所欲,我。 这应该是他的排名。
我的排名是 我们的生活。父母。他。我随便。
所以,我在她眼里算不得什么。
累了。真累了。
一次又一次的绝望… …
你可以不作为,可别造成麻烦 影响我们的生活… …
你可以影响我们的生活,可麻烦你在我解决麻烦之后 真心的承认下你的错误!
可不可以放下你的任性,放下你的不懂事.
受不了的。
这样下去的话,总有一天我会崩溃,我会控制不住自己。
两个人在一起,是为了彼此。
你说我不知足,可你总拿比你差的比。我是不知足,因为我头上顶着是别人租给我的房子。我穿的是50块钱的鞋子,我口袋里每天只装5块钱。我可以多花钱的,我要留着买房子娶媳妇呢。我要留着养父母呢.. .. 我这些目标没达到前,我当然不知足… …
我很矛盾的,放弃你,我不舍得。不放弃,我会被气死。
有时候想,我就这样吧,一辈子很快就过去了,可我不甘心。不甘心一事无成!
你的任性,不懂事,慢慢的让你的男人远离你!慢慢的不会在乎你,慢慢让他再也不把你带着了.
星期二, 四月 20th, 2010
女人的任性,迟早会毁掉自己的幸福!
.net aspx 利用smtp 发送邮件email 简单实用版
星期一, 四月 19th, 2010
前提是发件邮箱开启了smtp;
using System.Net.Mail;
if (!string.IsNullOrEmpty(Request.Form["email"]) && !string.IsNullOrEmpty(Request.Form["content"]) && !string.IsNullOrEmpty(Request.Form["title"]) && !string.IsNullOrEmpty(Request.Form["name"]))
{
string title = Request.Form["title"].ToString();
string mail = Request.Form["email"].ToString();
string content = Request.Form["content"].ToString();
string name = Request.Form["name"].ToString();
MailMessage message = new MailMessage();
message.From = new MailAddress(“mailsend@bordf.com”, name);
message.To.Add(new MailAddress(mail)); // the email you want to send email to
message.Subject = title;
message.IsBodyHtml = true;
message.BodyEncoding = System.Text.Encoding.UTF8;
message.Body = content;
message.Priority = MailPriority.Normal;
SmtpClient client = new SmtpClient(“smtp.bordf.com”, 25);
client.Credentials = [...]
web.config来进行301定向和rewrite规则的使用~ 实例中包含discuz rewrite规则~
星期一, 四月 19th, 2010
<configuration>
<system.webServer>
<httpRedirect enabled=”true” destination=”http://blog.bordf.com” httpResponseStatus=”Permanent” /> //301永久重定向
//rewrite规则部分开始 ,用于discuz
<rewrite>
<rules>
<rule>
<match url=”faq.htm$” />
<action url=”faq.php” />
</rule>
<rule>
<match url=”tag-(.+).html$” />
<action url=”tag.php\?name={R:1}” />
</rule>
<rule >
<match url=”thread-([0-9]+)-([0-9]+)-([0-9]+).html$” />
<action url=”viewthread.php?tid={R:1}&extra=page\%3D{R:3}&page={R:2}” />
</rule>
<rule >
<match url=”forum-([0-9]+)-([0-9]+).html$” />
<action url=”forumdisplay.php?fid={R:1}&page={R:2}” />
</rule>
</rules>
</rewrite>
//rewrite规则部分结束 ,用于discuz
<httpErrors errorMode=”DetailedLocalOnly” />
<asp scriptErrorSentToBrowser=”true” />
</system.webServer>
<appSettings/>
<connectionStrings/>
<system.web>
</system.web>
</configuration>
024-31586238 骗子号码~可以直接问候他们全家人了!
星期二, 四月 6th, 2010
中午吃饭的时候,我家小耙接到的电话,说是她信用卡欠费了 8000多,
可是,我们没有信用卡。百度一下后。发现有一条相关信息,
很明显,这个是骗子~
所以。希望下一个接到他们电话的朋友,能够上网搜索下这个号码。然后看到我这篇文章,然后知道,这个是骗子,记住骗子的号码:31586238
如果它再次打来。你可以用非常地道问候它的全家和祖先!
百度收录此文章吧,我不希望有人被骗! 谢谢!~
简单的图形验证系统.net代码 ~
星期四, 四月 1st, 2010
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Drawing;
public partial class picture : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string checkCode = CreateRandomCode();
Session["CheckCode"] = checkCode;
CreateImage(checkCode);
}
private string CreateRandomCode()
{
//做个随机数库
string allChar = “0,1,2,3,4,5,6,7,8,9″;
//将库里的字符放到数组里去
string[] allCharArray = allChar.Split(‘,’);
//定义RandomCode变量,为了存放生成的随机数。
string RandomCode = “”;
int temp = -1;
//实例Random函数
Random rand = new Random();
//for循环,这里是四次循环,为了是产生四个随机数,如果要产生多个,自己定义循环次数
for (int i = 0; i < 4; i++)
{
if (temp != [...]
访客统计程序demo,框架完成,架构补充我就不爱做了~ 所以就这样~
星期四, 四月 1st, 2010
Spidertest.aspx
<form id=”form1″>
<div><img src=”http://stats.bordf.com/spider.aspx?site=test” border=”0″ alt=”” width=”0″ height=”0″ /></div>
</form>
spider.aspx
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.IO;
public partial class spider : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(Request.QueryString["site"]))
{
string site, ip, url, time, agent,content;
site = Request.QueryString["site"];
ip = Request.UserHostAddress.ToString();
if (!string.IsNullOrEmpty(Request.ServerVariables["HTTP_REFERER"]))
{
url = Request.ServerVariables["HTTP_REFERER"].ToString();
}
else
{
url = “null”;
}
time = DateTime.Now.ToString();
agent = Request.UserAgent.ToString();
agent = agen(agent);
content = time + ” [...]
