跳至正文

张扬个性是个人网站的成功之道

转自 落伍

题记:昨天晚上台风挂的太厉害了,停电了,实在无聊,就坐下来写写东西,就算是纪念即将到来的8月10日,麦布网站建站一周年吧。以下纯属个人观点,希望各位落伍的战友们指教。

最近在网上经常碰到有人问:现在应该做什么类型的网站比较有前途?就这个问题我想在这个浮躁的网络里,现在的个人网站是不是都找不着北了,没方向感了?还是出现了更年期综合症。

追溯到上个世纪末,我们个人网站也走过了十个年头,从刚开始的“Hello World”到疯狂的追求访问量,再到现在的以赚钱为中心的思想,我们个人站长这个群落始终和互联网界的先进生产力代表与时俱进着。不管怎么说,办网站为了赚钱和成就自己的事业是现在个人站长中的主流思潮。张扬个性是个人网站的成功之道

How To : Improve Your PHP Programming 如何提高你的PHP编写水平

中文版 转自 落伍

Hello everyone,

I’ve decided that I would make a thread here describing the different things that I do to improve other people’s PHP scripts.

Hope you enjoy it and learn a thing or two.

1 – Your PHP Tags
I know some of you prefer to use the short tags when writing PHP scripts but this is not always the best way of doing it.
The standard tags are much better as they will work on every server that you write your PHP code on. You may move to a server some day that doesn’t allow the short tags or the ASP-style tags and you will have to sit for an hour and update your PHP scripts.

2 – Debugging Your PHP Code
Some of us may run into a problem when programming a PHP script and don’t know what’s wrong with it. The error_reporting() function in PHP helps you out by telling every error you have on your page. To show all of the errors on the page that you’re editing, put this on the second line :

CODE: [Copy to clipboard]
PHP:
How To : Improve Your PHP Programming 如何提高你的PHP编写水平

域名抢注入门

域名抢注就是一个域名在被别人注册之前,抢先将此域名以注册人的名义注册下来的行为。
好的国际域名基本上已经被欧美等发达国家瓜分完毕。
现在要得到一个好的国际域名,要么高价购买。要么抢注。
每天都有大量的过期未续费的域名被踢出,这里边不乏许多的好域名。
只要你比别人抢先一步,以自己的名义注册下来,那么它就是你的了。(当然你要记得续费,要不到期后

同样会被踢出,很多好域名就是这样被踢出来的哦)
那么,如何才能比别人抢先一步,抢注自己喜欢的域名呢?域名抢注入门