专业WordPress主机提供商
  • win7用cooledit2.1时提示Can not find the mixer program "sndvol32/r".的解决办法

    2010-12-15

    这几天想回一些感觉,所以装了CE,不过win7 旗舰版下 问题多多,现在还没完全成功,先记下来,希望对遇到这个问题的朋友有所帮助。

    出现这个错误是win7下没 sndvol32.exe这个音频控制器,去网上下载一个就行了。放到c:\windows\system32里面

     
    作者:小张 | 分类目录:互联网 & IT | 标签:
  • 解决WordPress 3.01 Gravatar头像无法显示(转)

    2010-10-16

    今天一直到下午都还正常的能显示Gravatar头像的,大约大学5点多的时候,我打开博客的时候发现示Gravatar头像全部无法显示,感觉有点奇怪,之前还好好的,突然就全部打不开了。

      我又打开几个好友的WordPress,发现有的能正常显示,有的不能。然后我就对比了下发现,头像图片的地址不同,前面是 http://0.gravatar.com/ 的图片无法打开,而是 http://www.gravatar.com/ 则打开了。 看来是http://0.gravatar.com/ 出了异常了。

      开始我以为是主题控制Gravatar头像的,然后去主题中找,竟然没有找到,奇怪了,于是换了个主题,还是无法打开,连后台的近期评论的Gravatar头像也无法打开,于是我想应该是程序的问题了。

      打开我一个用的WordPress 2.92的站,进后台发现能显示头像的,而3.01竟然不行。然后我就进一步发掘,终于找到了问题的所在。

      wp版本:3.0或3.01

      在wp-includes文件夹下 pluggable.php 文件,大约1645行。将下面的代码

    1if ( is_ssl() ) {
    2    $host = 'https://secure.gravatar.com';
    3} else {
    4    if ( !empty($email) )
    5        $host = sprintf( "http://%d.gravatar.com", ( hexdec( $email_hash{0} ) % 2 ) );
    6    else
    7        $host = 'http://0.gravatar.com';
    8}

      改为

    1if ( is_ssl() )
    2    $host = 'https://secure.gravatar.com';
    3else
    4    $host = 'http://www.gravatar.com';

      就能正常显示Gravatar头像了。

      好了如果你用的是3.0之前的版本,或者本地缓存了Gravatar头像的,就请路过吧。

      0.gravatar.com的看来还是没有www.gravatar.com的稳定啊,不晓得为什么3.0以上版本会用0.gravatar.com呢?不明白

    转自 http://www.weisay.com/blog/solve-wordpress-3-01-gravatar-show.html

    作者:小张 | 分类目录:互联网 & IT | 标签:
  • 衡天小张响应国家号召-把博客搬到国外去 博客移民了

    2010-03-16

    小张的博客也移民了,并不是说以前的托管商北京息壤不好,恰好我对息壤公司是很有感情的,里面好几个技术人员和销售人员和我都是朋友了,我的博客从2009年2月启用新域名http://hengtian.org开始就使用的是息壤的主机,期间没有更换过,我感觉独立IP对搜索引擎的影响还是有的,但是我感觉并不强烈,找我买息壤主机好多都是Seoer,做关键词或许有些帮助,我自己的博客在息壤托管期间 每月uptime在98.X%左右,有时凌晨1点左右数据库会当机5-20分钟左右,访问速度还是很快的,所以喜欢廉价独立IP主机的朋友可以联系我,现在备案1-2天过,我来操作。

    我现在博客是加州机房,大家可以感觉下速度哦。呵呵。我感觉还不错了,和息壤差别不大,在国外至少要稳定一些,看看这个月应该uptime会在99%以上了。现在感觉良好,终于和朋友们同在海外飘了。希望祖国母亲给我们bloger一个较稳定的环境,政策不要朝令夕改,算是我2010年的希冀。

    作者:小张 | 分类目录:互联网 & IT心有所思 | 标签:
  • A New Approach To China

    2010-01-13

    Like many other well-known organizations, we face cyber attacks ofvarying degrees on a regular basis. In mid-December, we detected ahighly sophisticated and targeted attack on our corporateinfrastructure originating from China that resulted in the theft ofintellectual property from Google. However, it soon became clear thatwhat at first appeared to be solely a security incident–albeit asignificant one–was something quite different.

    First,this attack was not just on Google. As part of our investigation wehave discovered that at least twenty other large companies from a widerange of businesses–including the Internet, finance, technology, mediaand chemical sectors–have been similarly targeted. We are currently inthe process of notifying those companies, and we are also working withthe relevant U.S. authorities.

    Second, we have evidence tosuggest that a primary goal of the attackers was accessing the Gmailaccounts of Chinese human rights activists. Based on our investigationto date we believe their attack did not achieve that objective. Onlytwo Gmail accounts appear to have been accessed, and that activity waslimited to account information (such as the date the account wascreated) and subject line, rather than the content of emails themselves.

    Third,as part of this investigation but independent of the attack on Google,we have discovered that the accounts of dozens of U.S.-, China- andEurope-based Gmail users who are advocates of human rights in Chinaappear to have been routinely accessed by third parties. These accountshave not been accessed through any security breach at Google, but mostlikely via phishing scams or malware placed on the users’ computers.

    Wehave already used information gained from this attack to makeinfrastructure and architectural improvements that enhance security forGoogle and for our users. In terms of individual users, we would advisepeople to deploy reputable anti-virus and anti-spyware programs ontheir computers, to install patches for their operating systems and toupdate their web browsers. Always be cautious when clicking on linksappearing in instant messages and emails, or when asked to sharepersonal information like passwords online. You can read more hereabout our cyber-security recommendations. People wanting to learn moreabout these kinds of attacks can read this U.S. government report (PDF), Nart Villeneuve’s blog and this presentation on the GhostNet spying incident.

    Wehave taken the unusual step of sharing information about these attackswith a broad audience not just because of the security and human rightsimplications of what we have unearthed, but also because thisinformation goes to the heart of a much bigger global debate aboutfreedom of speech. In the last two decades, China’s economic reformprograms and its citizens’ entrepreneurial flair have lifted hundredsof millions of Chinese people out of poverty. Indeed, this great nationis at the heart of much economic progress and development in the worldtoday.

    We launched Google.cn in January 2006 in the belief thatthe benefits of increased access to information for people in China anda more open Internet outweighed our discomfort in agreeing to censorsome results. At the time we made clearthat “we will carefully monitor conditions in China, including new lawsand other restrictions on our services. If we determine that we areunable to achieve the objectives outlined we will not hesitate toreconsider our approach to China.”

    These attacks and thesurveillance they have uncovered–combined with the attempts over thepast year to further limit free speech on the web–have led us toconclude that we should review the feasibility of our businessoperations in China. We have decided we are no longer willing tocontinue censoring our results on Google.cn, and so over the next fewweeks we will be discussing with the Chinese government the basis onwhich we could operate an unfiltered search engine within the law, ifat all. We recognize that this may well mean having to shut downGoogle.cn, and potentially our offices in China.

    The decision toreview our business operations in China has been incredibly hard, andwe know that it will have potentially far-reaching consequences. Wewant to make clear that this move was driven by our executives in theUnited States, without the knowledge or involvement of our employees inChina who have worked incredibly hard to make Google.cn the success itis today. We are committed to working responsibly to resolve the verydifficult issues raised.

    Posted by David Drummond, SVP, Corporate Development and Chief Legal Officer

    小张认为Google不可能退出市场,美国人都是商人,这点放心吧。。他可以退出古巴,可以退出任何一个国家,中国这个蛋糕 他不可能放的下。

    作者:小张 | 分类目录:互联网 & IT | 标签:
  • 动易SiteFactory生成权限记录

    2010-01-05

    今晚 一个客户突然发信息告诉我 他的动易程序不能生成了,12月份的时候我曾经帮他调试过权限,中间我没有动过,并且他的数据库正好到了5G,是设置的mssql的上限,因此我片面的认为是数据库的问题,增大数据库 不行,我又天真的想,可能是数据库权限的问题,新开数据库,附加迁移,到了12点多,实在累的受不了了,就再次查看权限,发现Network Service 这个用户并没有加载,很神奇,到现在我也没想通,而且其他站点正常加载,唉。浪费了3个多小时,现在已经凌晨2点了。。几十G的文件改个权限也不是易事。。继续等待~~

    附上权限:

    Administrators – 完全

    SYSTEM – 完全

    IUSR_xxx – 只读

    Network Service – 读写删

    网站正常生成。睡觉去~~准备考试~~

    作者:小张 | 分类目录:互联网 & IT | 标签:
  • 小张淘宝店开始实行会员制度 答谢大家的支持

    2009-12-23

    这是一个寒冬,这个寒冬小张和大家一起过,一起取暖。小张淘宝店从开张到现在一共1000余名客户,一步步大家陪我度过,现在网络有一些不愉快的事,但是丝毫打击不了我们博客主,我们是走在中国前端的人,用着最先进的独立博客系统,用着完美的LAMP架构主机,我们一定要坚持。

    小张的淘宝店(http://xiaozhang.taobao.com)现在已经1400个好评,也是淘宝反欺诈者志愿者,在新年到来之际,开始会员制度,优惠多多,除了域名业务,主机业务均可享受此价格,近乎成本价的优惠,奉献给老客户和VIP会员。

    累计购物满100元 淘宝自动识别为小张的高级会员,可以享受9折优惠~

    累计购物满300元 淘宝自动识别为小张的VIP会员,可以享受8折优惠~

    以上是淘宝自动发出本店的会员卡,老客户现在可以到自己的“我的淘宝”里面查看~

    再次感谢大家对我的支持,美国10号主机也上市了,大家可以根据自己的需要选择购买。

    作者:小张 | 分类目录:互联网 & IT | 标签:
  • yahoo域名转出

    2009-06-21

    转出步骤如下:

    1. 确认域名在YaHoo!的注册时间超过60天。按照ICANN的规定,域名注册时间至少为60天才可以转出。
    2. 解锁域名为了你的安全,锁定的域名是无法转移的。为了解锁你的域名,点击控制面板下方的“locked”链接。如果你不打算转出,建议将域名处于锁定状态。
    3. 确认你的域名管理联系邮箱你将提供此邮箱接收域名的域名商。(域名商以后将发送转出确认邮件至域名联系邮箱。如果你接收不到此确认信,你将不能完成转出操作)
    4. 记下你的授权码(authorization code)你的域名有一个惟一的授权码,点击控制面板底部的“View Your Authorization Code”可以查看。一定要记下这个代码–需要把这个授权码提供给新的域名商。
    5. 把刚才记下的授权码提供给新的域名商
    6. 取消在YaHoo!的域名计划

    域名转出完毕后,YaHoo!会发送一封确认信。收到邮件后,就可以在YaHoo!控制面板中“Cancel Plan”了。注意:一定要手动取消域名计划,YaHoo!不会自动取消此服务。不然以后YaHoo会继续从你的绑定信用卡或PayPal中扣款。

    转自 麦博客

    yahoo域名转移到小张这里 45续费。 可自由转出~

    作者:小张 | 分类目录:互联网 & IT | 标签:
  • 南阳理工学院成绩查询 可在校外查询成绩

    2009-06-21

    南阳理工学院为了防止校外攻击或许是保护学生信息不外泄,不提供校外访问,2w学生放假时在家无法查询,现放出查询程序,http://chengo.info 暂时的查询地址~有什么问题请和我联系~

    作者:小张 | 分类目录:互联网 & IT | 标签:
  • 小张发现息壤官方站新版

    2009-06-19

              凌晨1点 检查主机时,突然发现一个全新没见过的息壤站点模板,还以为是息壤的新代理商模板,很激动,因为我喜欢这种黑色,看http://91jieju.com ,为了防止站点失效,特别是截下图(息壤官方要求我删除的话,我会删除的),我认为是很好看的模板。

    2 

      Read More »

  • 景安数据中心提供1G的免费网站备份

    2009-06-10

    今天在景安看到这款产品,名曰:月光宝盒,但是不知道是不是能要月光宝盒一样可能让数据起死回生呢~

    网址:http://www.boxcdn.com  大家可以试试~可以备份web文件和数据库~ 小张在河南,但是速度还有有点慢~各位可以试试,重要网站数据请不要往那里放~

    e69caae591bde5908d

    作者:小张 | 分类目录:互联网 & IT | 标签:
  • 测试wordpress于Qzone通信

    2009-05-25

    测试wordpress于Qzone通信

    作者:小张 | 分类目录:互联网 & IT | 标签:
  • 刚买的GP 力再高 充电套装

    2009-04-18

    show下自己刚为S2000配备的GP力再高充电套装。又配了4节力再高,等于8只电池。

    作者:小张 | 分类目录:互联网 & IT | 标签:
  • 回答一个同学的为什么学asp.net的还学asp

    2009-04-08

    这学期开了asp程序设计课程,有很多同学都可纳闷为什么我们已经学习了asp.net还要学习asp呢。其实我感觉现在学asp是太晚了,asp学习自我感觉已经在asp.net前面,下面是我的一些拙见,不一定正确,都是我的一些想法。

    asp作为一种流行了快10年的技术,在微软不再支持的情况下逐渐走向衰弱,但是由于微软主推的asp.net技术学习人员还不是很高,而且架构asp.net运行环境需要的成本比asp要高,相当一部分企业和单位没有更新的计划,因此asp的存在价值还是很高,虽然我们现在高兴的看到,一部分大的企业已经开始从asp转向asp.net,但是我们还是应该看到asp的市场,社会上asp程序员的需求还是很大的。 Read More »

    作者:小张 | 分类目录:互联网 & IT | 标签: