自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 delphi下的google翻译

使用google翻译的delphi程序unit Unit2;interfaceuses   IdBaseComponent, IdComponent, IdTCPConnection,  IdTCPClient, IdHTTP, strutils;function TranslateChineseToEnglish(str : string) : string;function T

2006-03-23 18:04:00 2403

原创 同样的转换方法

aaa = System.Web.HttpUtility.UrlEncode(Trim(bookname.Value.ToString()), System.Text.Encoding.UTF8)

2006-01-19 18:03:00 920

原创 字符串转化成为utf8 Encoding (c#)

private string Convert(String str)  {    char[] hexDigits = {         0, 1, 2, 3, 4, 5, 6, 7,            8, 9, A, B, C, D, E, F};   Encoding utf8 = Encoding.UTF8;   Str

2006-01-04 23:00:00 4231

原创 得到本机当前网络连接的方法

unit ips;interfaceuses  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,  Dialogs, StdCtrls, winsock;typefunction WSAIoctl( hSocket: TSocket; ControlCode:dword;              

2005-12-24 22:28:00 1168

原创 asp中得到真正ip

得到IP地址的方法是,但是如果客户使用的代理服务器,这样就得到了代理服务器的IP,下面是得到真实IP的代码:function GetIp()dim realip,proxyrealip = Request.ServerVariables(”HTTP_X_FORWARDED_FOR”)proxy = Request.ServerVariables(”REMOTE_ADDR”)if realip =

2005-12-24 22:23:00 890

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除