zend studio打不开页面

今天想试一下zend studio, 在官方网下载好在win7下安装后,发现zend server其实就是apache, zend studio就是扩展了eclipse,但zend server/studio却还要收钱,真不知道是怎么遵守开源协议的。 创建一个test项目后,结果页面都打不开,返回的错误是这样的:Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, admin@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about … Read more

shell电话本

前几天在MSDN上看到有人用shell写了个电话本程序,为了巩固一下以前学过的, 自己也来弄一个shell电话本[绝非抄袭]。其实不能算一个电话本,因为只有两个域:名字和地址,权当练习,不尽完美之处,请海涵:D

#!/bin/sh
#Date: 2010-08-22
#QQ: 32281309
#MSN: pgj1207@hotmail.com
#Site: www.genepeng.com

function AddUser()
{
while :
do
echo -n “Enter user name: ”
read UserName
if [ “$UserName” = “” ]; then
continue
else
break
fi
done

while :
do
echo -n “Enter Address: ”
read Address
if [ “$Address” = “” ]; then
continue
else
break
fi
done

echo -e “$UserName\t$Address” >> $FileName
}

Read more

win7 VMware 7.0下centos不能上网

之前的CentOS是xp和VMware下安装的,上网等功能一切正常,但后来装了win7后上网功能出现了问题 情况如下: -> win7 ping不通虚拟机下CentOS -> CentOS 能ping win7和外网,但是不能浏览网页 -> 在win7下,用putty也访问不了CentOS -> win7, CentOS的防火墙都关了 后来发现原来是安装的瑞星防火墙的原因, 改变相应的设置,或直接把瑞星防火墙关掉就可以了