| 标题: | 带着心上路 | 新的开始,新的期待。 ![]() |
| 描述: | |
| 关键字: | |
| sponsored links: | |
| 连接: | 47 个内链, 13 个外链 查看内链 查看外链PR,友情链接检查 |
| 图片: | 3 个图片, 1 个没有Alt标签 查看所有图片 |
| 网站历史: | 创建于:- 年龄:- 查看历史记录 |
| 网站流量: | IP ≈4,772 PV ≈5,726 |
| 网站估价: | ¥6,413 日广告收入: ¥9 (注:不包含域名价值,不代表公司价值) |
| Alexa全球排名: | 当日: - 一周: 423,380 三个月: 423,380 查看详情 | ||
| Google Page Rank: |
|
||
| 真假PR鉴别: | (提示:若此处显示网站与查询网站不同,则疑为劫持PR) | ||
| Sogou Rank: | |||
| 百度快照日期: | 查看详情 | ||
| 搜索引擎 | 收录情况 | 反向链接 |
| - 查看详情 | - 查看详情 | |
| 169 查看详情 | 2,010 查看详情 | |
| 0 查看详情 | 0 查看详情 | |
| 253 查看详情 | 154 查看详情 | |
| 301 查看详情 | 593 查看详情 | |
| 0 查看详情 | 0 查看详情 | |
| - 查看详情 | - 查看详情 |
| Web服务器: | nginx/0.8.53 |
| IP地址: | 173.255.249.133 有约 1 个站点运行在此服务器上 查看详情 |
| IP所在地: | 美国 |
| 注册人: | Hily Jiang |
| Email: | hilyjiang |
| ICANN注册机构: | |
| 创建时间: | |
| 修改时间: | |
| 过期时间: | |
| 状态: | |
| Name Server: | |
| Whois Server: | me.whois-servers.net |
| 流量统计: | 当日 | 一周平均 | 三个月平均 |
| 排名: | - | 423,380 | 423,380 |
| PV: | 0 | 1.20000 | 1.20000 |
| 日独立IP: | ≈0 | ≈3,181 | ≈3,181 |
|
|
|
| Alexa Reach走势图 |
| ||
| Who is hily.me at me.whois-servers.net WHOIS TERMS & CONDITIONS: Access to .ME WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the .ME registry database. The data in this record is provided by .ME Registry for informational purposes only, and .ME Registry does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, facsimile, or other electronic processes of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator, except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. .ME Registry reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy. Domain ID:D239018-ME Domain Name:HILY.ME Domain Create Date:29-Sep-2008 07:38:30 UTC Domain Last Updated Date:01-Jan-2011 16:50:51 UTC Domain Expiration Date:29-Sep-2011 07:38:30 UTC Last Transferred Date:28-Sep-2010 07:44:36 UTC Trademark Name: Trademark Country: Trademark Number: Date Trademark Applied For: Date Trademark Registered: Sponsoring Registrar:1API GmbH R17-ME Created by:GoDaddy.com Inc R41-ME Last Updated by Registrar:1API GmbH R17-ME Domain Status:CLIENT TRANSFER PROHIBITED Registrant ID:HJA3451652-IIOZ Registrant Name:Hily Jiang Registrant Organization: Registrant Address:West Part 10 Floor, Zhongfu Plaza Registrant Address2: Registrant Address3: Registrant City:Fuzhou Registrant State/Province:Fujian Registrant Country/Economy:CN Registrant Postal Code:350001 Registrant Phone:+86.15960003333 Registrant Phone Ext.: Registrant FAX:+86.59188315569 Registrant FAX Ext.: Registrant E-mail:hilyjiang Admin ID:HJA3451652-IIOZ Admin Name:Hily Jiang Admin Organization: Admin Address:West Part 10 Floor, Zhongfu Plaza Admin Address2: Admin Address3: Admin City:Fuzhou Admin State/Province:Fujian Admin Country/Economy:CN Admin Postal Code:350001 Admin Phone:+86.15960003333 Admin Phone Ext.: Admin FAX:+86.59188315569 Admin FAX Ext.: Admin E-mail:hilyjiang Tech ID:HJA3451652-IIOZ Tech Name:Hily Jiang Tech Organization: Tech Address:West Part 10 Floor, Zhongfu Plaza Tech Address2: Tech Address3: Tech City:Fuzhou Tech State/Province:Fujian Tech Country/Economy:CN Tech Postal Code:350001 Tech Phone:+86.15960003333 Tech Phone Ext.: Tech FAX:+86.59188315569 Tech FAX Ext.: Tech E-mail:hilyjiang Nameservers:F1G1NS1.DNSPOD.NET Nameservers:F1G1NS2.DNSPOD.NET Nameservers: Nameservers: Nameservers: Nameservers: Nameservers: Nameservers: Nameservers: Nameservers: Nameservers: Nameservers: Nameservers: |
|
|
|
重新测速 |
|
国内Ping速度测试
国内TraceRoute路由测试 美国Ping速度测试 美国TraceRoute路由测试 |
| ||||||
| 后缀 | 注册时间 | 到期时间 | 是否注册 |
| .com | |||
| .net | |||
| .org | |||
| .cn | |||
| .com.cn | |||
| .asia | |||
| .mobi |
| 查看更多 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Title:带着心上路 | 新的开始,新的期待。
Description: Keywords: Body:
带着心上路 | 新的开始,新的期待。
带着心上路
新的开始,新的期待。
Skip to content
Home== 福州长期紧急招聘 ==关于我
larr; Older posts
无废话 Sphinx Server 及 Sphinx Client PHP 模块编译安装
Posted on 2011-03-30 by hilyjiang
作者:Hily 原始链接:http://hily.me/blog/2011/03/sphinx-server-quick-installation/
版权声明:可以转载,转载时务必以超链接形式标明文章原始出处和作者信息及版权声明
Sphinx 安装
wget http://sphinxsearch.com/files/sphinx-1.10-beta.tar.gz
tar zxf sphinx-1.10-beta.tar.gz
cd sphinx-1.10-beta
./configure --prefix=/usr/local/sphinx --with-mysql
make #038; #038; make install
libsphinxclient 安装(PHP模块需要)
cd api/libsphinxclient
./configure --prefix=/usr/local/sphinx
make 时会出现以下错误:
libsphinxclient # make
make all-am
make[1]: Entering directory `/work/setup/sphinx-1.10-beta/api/libsphinxclient'
/bin/sh ./libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c -o sphinxclient.lo sphinxclient.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c sphinxclient.c -fPIC -DPIC -o .libs/sphinxclient.o
sphinxclient.c: In function 'net_connect_get':
sphinxclient.c:1358: error: 'SO_NOSIGPIPE' undeclared (first use in this function)
sphinxclient.c:1358: error: (Each undeclared identifier is reported only once
sphinxclient.c:1358: error: for each function it appears in.)
make[1]: *** [sphinxclient.lo] Error 1
make[1]: Leaving directory `/work/setup/sphinx-1.10-beta/api/libsphinxclient'
make: *** [all] Error 2
请打开sphinxclient.c,将以下代码:
#ifndef _WIN32
if ( setsockopt ( sock, SOL_SOCKET, SO_NOSIGPIPE, (void *) #038;optval, (sock
len_t)sizeof(optval) ) 0 )
{
set_error ( client, "setsockopt() failed: %s", sock_error() );
return -1;
}
#endif
修改为:
#ifndef _WIN32
#ifdef SO_NOSIGPIPE
if ( setsockopt ( sock, SOL_SOCKET, SO_NOSIGPIPE, (void *) #038;optval, (sock
len_t)sizeof(optval) ) 0 )
{
set_error ( client, "setsockopt() failed: %s", sock_error() );
return -1;
}
#endif
#endif
接着:
make install
Sphinx Client PHP 模块安装
wget http://pecl.php.net/get/sphinx-1.1.0.tgz
tar zxf sphinx-1.1.0.tgz
cd sphinx-1.1.0
/usr/local/php/bin/phpize
./configure -with-php-config=/usr/local/php/bin/php-config --with-sphinx=/usr/local/sphinx/
make #038; #038; make install
-- EOF --
Posted in php, 数据库
|
Tagged Sphinx, 全文索引
|
Leave a comment
点点网(www.diandian.com)注册邀请码
Posted on 2011-03-23 by hilyjiang
作者:Hily 原始链接:http://hily.me/blog/2011/03/diandian-register/
版权声明:可以转载,转载时务必以超链接形式标明文章原始出处和作者信息及版权声明
啥是点点网?
官方描述是:
点点是一个简单的轻博客社区,你可以在任何时间,从任何地方发表内容到你的博客。
如何注册?
需要注册的朋友,请将以下信息发到我的邮箱,我可以帮助大家直接开通:
* 邮箱:登录用的
* 密码:临时用一个,稍后可自行修改
* 个性域名:如 hilyjiang.diandian.com,域名长度必须大于等于5
我的邮箱是:hilyjiang[AT] gmail.com
-- EOF --
Posted in 产品
|
3 Comments
无废话 MongoDB 及 PHP 扩展编译安装
Posted on 2011-02-22 by hilyjiang
作者:Hily 原始链接:http://hily.me/blog/2011/02/mongodb-and-php-quickly-installation/
版权声明:可以转载,转载时务必以超链接形式标明文章原始出处和作者信息及版权声明
操作系统环境:Gentoo Linux
需要使用 scons 编译安装:
emerge scons
安装 mongodb 依赖库:
emerge boost
emerge libpcre
export CFLAGS="-DJS_C_STRINGS_ARE_UTF8" # 编译spidermonkey支持utf8
emerge spidermonkey
安装 mongodb:
cd /work/setup
wget http://downloads.mongodb.org/src/mongodb-src-r1.6.5.tar.gz
tar zxf mongodb-src-r1.6.5.tar.gz
cd mongodb-src-r1.6.5
scons all
scons --full install
启动 mongodb 服务器:
创建默认的数据库目录,创建后启动 mongod:
mkdir -p /data/db
/usr/local/bin/mongod
在系统自动启动队列文件 /etc/conf.d/local.start 中添加:
/usr/local/bin/mongod --fork --logpath /var/log/mongodb.log --logappend
安装 PHP 扩展:
wget http://pecl.php.net/get/mongo-1.1.4.tgz
tar zxf mongo-1.1.4.tgz
cd mongo-1.1.4
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make #038; #038; make install
最后在 php.ini 尾部加上:
extension = mongo.so
-- EOF --
Posted in php, 服务器
|
Tagged mongodb, php
|
Leave a comment
PHP 输出的各个时区对应的时差表
Posted on 2011-02-12 by hilyjiang
作者:Hily 原始链接:http://hily.me/blog/2011/02/timezone-offset-table-output-by-php/
版权声明:可以转载,转载时务必以超链接形式标明文章原始出处和作者信息及版权声明
经常要查某些时区的时差,每次都写 PHP 脚本去输出毕竟不方便,索性直接批量输出,放在 Blog 上备份起来。
各个时区对应的时差表(不考虑夏时令):
Africa/Abidjan +00:00
Africa/Accra +00:00
Africa/Addis_Ababa +03:00
Africa/Algiers +01:00
Africa/Asmara +03:00
Africa/Bamako +00:00
Africa/Bangui +01:00
Africa/Banjul +00:00
Africa/Bissau +00:00
Africa/Blantyre +02:00
Africa/Brazzaville +01:00
Africa/Bujumbura +02:00
Africa/Cairo +02:00
Africa/Casablanca +00:00
Africa/Ceuta +01:00
Africa/Conakry +00:00
Africa/Dakar +00:00
Africa/Dar_es_Salaam +03:00
Africa/Djibouti +03:00
Africa/Douala +01:00
Africa/El_Aaiun +00:00
Africa/Freetown +00:00
Africa/Gaborone +02:00
Africa/Harare +02:00
Africa/Johannesburg +02:00
Africa/Kampala +03:00
Africa/Khartoum +03:00
Africa/Kigali +02:00
Africa/Kinshasa +01:00
Africa/Lagos +01:00
Africa/Libreville +01:00
Africa/Lome +00:00
Africa/Luanda +01:00
Africa/Lubumbashi +02:00
Africa/Lusaka +02:00
Africa/Malabo +01:00
Africa/Maputo +02:00
Africa/Maseru +02:00
Africa/Mbabane +02:00
Africa/Mogadishu +03:00
Africa/Monrovia +00:00
Africa/Nairobi +03:00
Africa/Ndjamena +01:00
Africa/Niamey +01:00
Africa/Nouakchott +00:00
Africa/Ouagadougou +00:00
Africa/Porto-Novo +01:00
Africa/Sao_Tome +00:00
Africa/Tripoli +02:00
Africa/Tunis +01:00
Africa/Windhoek +02:00
America/Adak -10:00
America/Anchorage -09:00
America/Anguilla -04:00
America/Antigua -04:00
America/Araguaina -03:00
America/Argentina/Buenos_Aires -02:00
America/Argentina/Catamarca -03:00
America/Argentina/Cordoba -02:00
America/Argentina/Jujuy -03:00
America/Argentina/La_Rioja -03:00
America/Argentina/Mendoza -03:00
America/Argentina/Rio_Gallegos -03:00
America/Argentina/Salta -03:00
America/Argentina/San_Juan -03:00
America/Argentina/San_Luis -03:00
America/Argentina/Tucuman -02:00
America/Argentina/Ushuaia -03:00
America/Aruba -04:00
America/Asuncion -03:00
America/Atikokan -05:00
America/Bahia -03:00
America/Barbados -04:00
America/Belem -03:00
America/Belize -06:00
America/Blanc-Sablon -04:00
America/Boa_Vista -04:00
America/Bogota -05:00
America/Boise -07:00
America/Cambridge_Bay -07:00
America/Campo_Grande -03:00
America/Cancun -06:00
America/Caracas -04:30
America/Cayenne -03:00
America/Cayman -05:00
America/Chicago -06:00
America/Chihuahua -07:00
America/Costa_Rica -06:00
America/Cuiaba -03:00
America/Curacao -04:00
America/Danmarkshavn +00:00
America/Dawson -08:00
America/Dawson_Creek -07:00
America/Denver -07:00
America/Detroit -05:00
America/Dominica -04:00
America/Edmonton -07:00
America/Eirunepe -04:00
America/El_Salvador -06:00
America/Fortaleza -03:00
America/Glace_Bay -04:00
America/Godthab -03:00
America/Goose_Bay -04:00
America/Grand_Turk -05:00
America/Grenada -04:00
America/Guadeloupe -04:00
America/Guatemala -06:00
America/Guayaquil -05:00
America/Guyana -04:00
America/Halifax -04:00
America/Havana -05:00
America/Hermosillo -07:00
America/Indiana/Indianapolis -05:00
America/Indiana/Knox -06:00
America/Indiana/Marengo -05:00
America/Indiana/Petersburg -05:00
America/Indiana/Tell_City -06:00
America/Indiana/Vevay -05:00
America/Indiana/Vincennes -05:00
America/Indiana/Winamac -05:00
America/Inuvik -07:00
America/Iqaluit -05:00
America/Jamaica -05:00
America/Juneau -09:00
America/Kentucky/Louisville -05:00
America/Kentucky/Monticello -05:00
America/La_Paz -04:00
America/Lima -05:00
America/Los_Angeles -08:00
America/Maceio -03:00
America/Managua -06:00
America/Manaus -04:00
America/Marigot -04:00
America/Martinique -04:00
America/Mazatlan -07:00
America/Menominee -06:00
America/Merida -06:00
America/Mexico_City -06:00
America/Miquelon -03:00
America/Moncton -04:00
America/Monterrey -06:00
America/Montevideo -02:00
America/Montreal -05:00
America/Montserrat -04:00
America/Nassau -05:00
America/New_York -05:00
America/Nipigon -05:00
America/Nome -09:00
America/Noronha -02:00
America/North_Dakota/Center -06:00
America/North_Dakota/New_Salem -06:00
America/Panama -05:00
America/Pangnirtung -05:00
America/Paramaribo -03:00
America/Phoenix -07:00
America/Port-au-Prince -05:00
America/Port_of_Spain -04:00
America/Porto_Velho -04:00
America/Puerto_Rico -04:00
America/Rainy_River -06:00
America/Rankin_Inlet -06:00
America/Recife -03:00
America/Regina -06:00
America/Resolute -05:00
America/Rio_Branco -04:00
America/Santarem -03:00
America/Santiago -03:00
America/Santo_Domingo -04:00
America/Sao_Paulo -02:00
America/Scoresbysund -01:00
America/Shiprock -07:00
America/St_Barthelemy -04:00
America/St_Johns -03:30
America/St_Kitts -04:00
America/St_Lucia -04:00
America/St_Thomas -04:00
America/St_Vincent -04:00
America/Swift_Current -06:00
America/Tegucigalpa -06:00
America/Thule -04:00
America/Thunder_Bay -05:00
America/Tijuana -08:00
America/Toronto -05:00
America/Tortola -04:00
America/Vancouver -08:00
America/Whitehorse -08:00
America/Winnipeg -06:00
America/Yakutat -09:00
America/Yellowknife -07:00
Antarctica/Casey +08:00
Antarctica/Davis +07:00
Antarctica/DumontDUrville +10:00
Antarctica/Mawson +06:00
Antarctica/McMurdo +13:00
Antarctica/Palmer -03:00
Antarctica/Rothera -03:00
Antarctica/South_Pole +13:00
Antarctica/Syowa +03:00
Antarctica/Vostok +06:00
Arctic/Longyearbyen +01:00
Asia/Aden +03:00
Asia/Almaty +06:00
Asia/Amman +02:00
Asia/Anadyr +12:00
Asia/Aqtau +05:00
Asia/Aqtobe +05:00
Asia/Ashgabat +05:00
Asia/Baghdad +03:00
Asia/Bahrain +03:00
Asia/Baku +04:00
Asia/Bangkok +07:00
Asia/Beirut +02:00
Asia/Bishkek +06:00
Asia/Brunei +08:00
Asia/Choibalsan +08:00
Asia/Chongqing +08:00
Asia/Colombo +05:30
Asia/Damascus +02:00
Asia/Dhaka +07:00
Asia/Dili +09:00
Asia/Dubai +04:00
Asia/Dushanbe +05:00
Asia/Gaza +02:00
Asia/Harbin +08:00
Asia/Ho_Chi_Minh +07:00
Asia/Hong_Kong +08:00
Asia/Hovd +07:00
Asia/Irkutsk +08:00
Asia/Jakarta +07:00
Asia/Jayapura +09:00
Asia/Jerusalem +02:00
Asia/Kabul +04:30
Asia/Kamchatka +12:00
Asia/Karachi +05:00
Asia/Kashgar +08:00
Asia/Kathmandu +05:45
Asia/Kolkata +05:30
Asia/Krasnoyarsk +07:00
Asia/Kuala_Lumpur +08:00
Asia/Kuching +08:00
Asia/Kuwait +03:00
Asia/Macau +08:00
Asia/Magadan +11:00
Asia/Makassar +08:00
Asia/Manila +08:00
Asia/Muscat +04:00
Asia/Nicosia +02:00
Asia/Novosibirsk +06:00
Asia/Omsk +06:00
Asia/Oral +05:00
Asia/Phnom_Penh +07:00
Asia/Pontianak +07:00
Asia/Pyongyang +09:00
Asia/Qatar +03:00
Asia/Qyzylorda +06:00
Asia/Rangoon +06:30
Asia/Riyadh +03:00
Asia/Sakhalin +10:00
Asia/Samarkand +05:00
Asia/Seoul +09:00
Asia/Shanghai +08:00
Asia/Singapore +08:00
Asia/Taipei +08:00
Asia/Tashkent +05:00
Asia/Tbilisi +04:00
Asia/Tehran +03:30
Asia/Thimphu +06:00
Asia/Tokyo +09:00
Asia/Ulaanbaatar +08:00
Asia/Urumqi +08:00
Asia/Vientiane +07:00
Asia/Vladivostok +10:00
Asia/Yakutsk +09:00
Asia/Yekaterinburg +05:00
Asia/Yerevan +04:00
Atlantic/Azores -01:00
Atlantic/Bermuda -04:00
Atlantic/Canary +00:00
Atlantic/Cape_Verde -01:00
Atlantic/Faroe +00:00
Atlantic/Madeira +00:00
Atlantic/Reykjavik +00:00
Atlantic/South_Georgia -02:00
Atlantic/St_Helena +00:00
Atlantic/Stanley -03:00
Australia/Adelaide +10:30
Australia/Brisbane +10:00
Australia/Broken_Hill +10:30
Australia/Currie +11:00
Australia/Darwin +09:30
Australia/Eucla +08:45
Australia/Hobart +11:00
Australia/Lindeman +10:00
Australia/Lord_Howe +11:00
Australia/Melbourne +11:00
Australia/Perth +08:00
Australia/Sydney +11:00
Europe/Amsterdam +01:00
Europe/Andorra +01:00
Europe/Athens +02:00
Europe/Belgrade +01:00
Europe/Berlin +01:00
Europe/Bratislava +01:00
Europe/Brussels +01:00
Europe/Bucharest +02:00
Europe/Budapest +01:00
Europe/Chisinau +02:00
Europe/Copenhagen +01:00
Europe/Dublin +00:00
Europe/Gibraltar +01:00
Europe/Guernsey +00:00
Europe/Helsinki +02:00
Europe/Isle_of_Man +00:00
Europe/Istanbul +02:00
Europe/Jersey +00:00
Europe/Kaliningrad +02:00
Europe/Kiev +02:00
Europe/Lisbon +00:00
Europe/Ljubljana +01:00
Europe/London +00:00
Europe/Luxembourg +01:00
Europe/Madrid +01:00
Europe/Malta +01:00
Europe/Mariehamn +02:00
Europe/Minsk +02:00
Europe/Monaco +01:00
Europe/Moscow +03:00
Europe/Oslo +01:00
Europe/Paris +01:00
Europe/Podgorica +01:00
Europe/Prague +01:00
Europe/Riga +02:00
Europe/Rome +01:00
Europe/Samara +04:00
Europe/San_Marino +01:00
Europe/Sarajevo +01:00
Europe/Simferopol +02:00
Europe/Skopje +01:00
Europe/Sofia +02:00
Europe/Stockholm +01:00
Europe/Tallinn +02:00
Europe/Tirane +01:00
Europe/Uzhgorod +02:00
Europe/Vaduz +01:00
Europe/Vatican +01:00
Europe/Vienna +01:00
Europe/Vilnius +02:00
Europe/Volgograd +03:00
Europe/Warsaw +01:00
Europe/Zagreb +01:00
Europe/Zaporozhye +02:00
Europe/Zurich +01:00
Indian/Antananarivo +03:00
Indian/Chagos +06:00
Indian/Christmas +07:00
Indian/Cocos +06:30
Indian/Comoro +03:00
Indian/Kerguelen +05:00
Indian/Mahe +04:00
Indian/Maldives +05:00
Indian/Mauritius +05:00
Indian/Mayotte +03:00
Indian/Reunion +04:00
Pacific/Apia -11:00
Pacific/Auckland +13:00
Pacific/Chatham +13:45
Pacific/Easter -05:00
Pacific/Efate +11:00
Pacific/Enderbury +13:00
Pacific/Fakaofo -10:00
Pacific/Fiji +12:00
Pacific/Funafuti +12:00
Pacific/Galapagos -06:00
Pacific/Gambier -09:00
Pacific/Guadalcanal +11:00
Pacific/Guam +10:00
Pacific/Honolulu -10:00
Pacific/Johnston -10:00
Pacific/Kiritimati +14:00
Pacific/Kosrae +11:00
Pacific/Kwajalein +12:00
Pacific/Majuro +12:00
Pacific/Marquesas -09:30
Pacific/Midway -11:00
Pacific/Nauru +12:00
Pacific/Niue -11:00
Pacific/Norfolk +11:30
Pacific/Noumea +11:00
Pacific/Pago_Pago -11:00
Pacific/Palau +09:00
Pacific/Pitcairn -08:00
Pacific/Ponape +11:00
Pacific/Port_Moresby +10:00
Pacific/Rarotonga -10:00
Pacific/Saipan +10:00
Pacific/Tahiti -10:00
Pacific/Tarawa +12:00
Pacific/Tongatapu +13:00
Pacific/Truk +10:00
Pacific/Wake +12:00
Pacific/Wallis +12:00
UTC +00:00
PHP 脚本:
lt;?php
$timezone_identifiers = DateTimeZone::listIdentifiers();
for ($i=0; $i lt; count($timezone_identifiers); $i++) {
$timeZone = $timezone_identifiers[$i];
$dateTimeZone = new DateTimeZone($timeZone);
$dateTime = new DateTime('now', $dateTimeZone);
$timeOffset = $dateTimeZone- gt;getOffset($dateTime);
$timeOffsetStr = output_offset($timeOffset);
echo "$timeZone\t$timeOffsetStr\n";
}
function output_offset($offset) {
$pre = $offset lt; 0 ? '-' : '+';
if ($offset lt; 0) $offset = -$offset;
$hour = (int)($offset / 3600);
$minute = (int)($offset / 60) % 60;
return $pre . sprintf('%02d:%02d', $hour, $minute);
}
-- EOF --
Posted in php
|
1 Comment
婚礼倒计时
Posted on 2011-02-11 by hilyjiang
作者:Hily 原始链接:http://hily.me/blog/2011/02/my-wedding-countdown/
版权声明:可以转载,转载时务必以超链接形式标明文章原始出处和作者信息及版权声明
密码请向偶索取
PS:
好多朋友说婚纱照拍得很新鲜很有个性,问我婚纱照哪里拍的,俺这里免费给他们做个广告:“福州后现代韩派摄影工作室”
-- EOF --
Posted in 生活
|
2 Comments
larr; Older posts
Search for:
CategoriesFlash
Linux
php
Python
产品
作品
博客
嵌入式
工具
感悟
排难
数据库
数码
服务器
杂想
牢骚
生活
监控系统
编程
网站
译文
Recent Posts
无废话 Sphinx Server 及 Sphinx Client PHP 模块编译安装
点点网(www.diandian.com)注册邀请码
无废话 MongoDB 及 PHP 扩展编译安装
PHP 输出的各个时区对应的时差表
婚礼倒计时
Recent Comments赋闲公子 on Nginx = 0.7.31 已经支持 PATH_INFOmars on 点点网(www.diandian.com)注册邀请码hilyjiang on 点点网(www.diandian.com)注册邀请码Lucas-Du on 点点网(www.diandian.com)注册邀请码深圳SEO on NGINX + PHP-FPM 502 相关事博链
Penna #039;s Blog
PPZhu 皮皮猪
朋友要加链请上QQ
站点
快来找歌词啦
淘宝网购物返现
淘客联盟
博客统计
Clicki 统计系统
带着心上路
Proudly powered by WordPress.
|
| 正在更新 |
| 桌面软件: | MyIP网站信息状态条 WebShot网页快照 SiteMapMaker网站地图生成 |
| 网站信息: | Alexa排名查询 PageRank查询/真假PR鉴别/PR劫持检测 外链检查 搜索引擎收录 搜索引擎反向链接 域名注册查询 |
| 网页编辑: | 颜色代码选择器 Html特殊符号 |
| 网站调试: | 蜘蛛抓取模拟 网站Header信息 网页源代码查看 |
| 代码转换: | 火星文查询 繁体/简体转换 Html/js代码转换 Html/UBB代码转换 |