返回缓存的前页:
header(‘Cache-control: private, must-revalidate’);
页面中CSS自动限制图片显示大小
max-width:500px;
width: expression(this.width > 500 ? 500: true);
返回整页源代码
document.body.parentNode.innerHTML
cpanel问题:cpanel Invalid License File
root@host [~]# /usr/local/cpanel/cpkeyclt
Updating Internal cPanel Information…..Done
mysql导入.gz格式备份文件
gunzip db.sql.gz
mysql -u root -p database_db < db.sql
IE javascript错误 - ‘not implemented’
IE中进行window.onload调用,出现not implemented的错误:
window.onload=yourfunc(‘yourarg’);
解决办法:
var OnLoad = “yourfunc(‘yourarg’)”;
window.onload = function() {eval(OnLoad);};