摘要:
header("Location:")作为php的转向语句。其实在使用中,他有几点需要注意的地方。 1、要求header前没有任何输出 但是很多时候在header前我们已经输出了好多东西了,此时如果再次header的话,显然是出错的,在这里我们启用了一个ob的概念,ob的意思是在服务器端先存储有关输出,等待适当的时机再输出,而不是像现在这样运行一句,输出一句,发现header语句就只能报错了。 ... 阅读全文
摘要:
错误描述: the following translators were not loaded due to errors … 解决方法: 删除或重命名 系统所在盘盘符,如C:\Documents and Settings\此处为您的用户名\Application Data\Adobe\Dreamweaver CS5 或 其它版本Dreamweaver\Configuratio... 阅读全文
摘要:
Unlike its brother HttpWebRequest, the WebClient class automatically follows redirects, but if you need to get the "final" url, you'll need to "wrap" your WebClient in a class that derives from System... 阅读全文