1.数据库的引擎 innodb之类的,然后innodb支持事务
2.Ucleft() 变成大写字母
3.魔法函数和魔法变量
4.Yii的整个流程
5.假如有成千上万的数据,存储的就只是用户id和邮箱,那怎么去查询163和126邮箱的用户。最好的方式就是使用索引。
6.如果cookie禁用了,那session还能用吗, 不能,因为session是基于cookie的
7.Empty和isset的区别
Empty(‘helloword ’); = False
Empty(‘1’) = false;
Empty(‘0’) = ture;
Empty(0) = ture;
Empty(1) = false
isset(0) =
8.一段可以运行的jquery脚本
<script type="text/javascript">
$(document).ready(function(){
if (typeof(_gaq)!='undefined'){
$('.resourceCenterPg').find('.linkWrapper a.thickbox').bind('click', function(){
var video_name = $.trim($(this).parents('.linkWrapper').find('h2 a.thickbox').text());
_gaq.push(['_trackEvent', 'Video', 'Load', video_name]);
console.log('11111');
});
}
})
</script>
下面是我我去同花顺的面试记录
1.Post和get
2.Post的数据用什么函数提取
3.Echo和print_r
4.最快速的清楚函数Array_remove() 清楚数组中值为
v的数据5.用冒泡排序对array进行排序6.对网址提取所有超链接到url.txt里7.对所有目录进行遍历Foreach(
array as
a=>
v)
8.单引号和双引号的区别
9.留言板
10.如果打开一个网站,发现打开很慢要怎么办