php文件编码格式对结果有影响?
December 16th, 2009
No comments
近日发现我自己用notepad编辑的wordpress中page的自定义页面顶端的背景比原模板的宽。后来我复制一份wordpress自带的page模板,删除代码,然后把自己的代码放进去。这样就解决了问题。难道php文件的编码格式对服务器处理文件内容有影响吗?我对php编程并不熟悉,但是看样子是这样的。
如果有朋友能够给我释疑就好了。
近日发现我自己用notepad编辑的wordpress中page的自定义页面顶端的背景比原模板的宽。后来我复制一份wordpress自带的page模板,删除代码,然后把自己的代码放进去。这样就解决了问题。难道php文件的编码格式对服务器处理文件内容有影响吗?我对php编程并不熟悉,但是看样子是这样的。
如果有朋友能够给我释疑就好了。
格式:
array explode ( string separator, string string [, int limit] )
此函数返回由字符串组成的数组,每个元素都是 string 的一个子串,它们被字符串 separator 作为边界点分割出来。
While I was working on a WordPress template, I needed to show posts in the category which has the same name ( or slug) of a page. As the WordPress.org said, the codes:
Read more…