Use php to check a string contains substring there maybe many ways, the strpos maybe the most used way, but it’s strange, it not work for me why? That’s what i want to say: the thing you need take care while use strpos .

Read the rest of this entry »

Tags:
Posted by admin in: php

I have a mysql table site_visitor with vid(auto_increment),IP,page,visit_time… columns, the problem is many duplicate IP data in the table, only the IP column data is duplicated while the others like isp,visit_time… are not, i did much test and finally find a very simple way.

Read the rest of this entry »

Tags:
Posted by admin in: mysql

Browser compatibility is realy pain for css coders,this is a quickly to fix the the pages have problems IE8 while looks good in IE7,just following line in the tag on the page,
<meta http-equiv=”X-UA-Compatible” content=”IE=EmulateIE7″ />
but some one failed while others success,why?

Read the rest of this entry »

Posted by admin in: css xhtml

valid-xhtml10 css2.1 valid © BrightYourSite.com All Right Reaserved