• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
PHP开发记录
PHP以及web前端(ajax,js,jquery等)
博客园 首页 新随笔 管理
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 83 下一页

2010年3月28日

php 全文搜索和实现替换的代码
摘要: <?php   exec("/bin/grep -r '$oldword' $rootpath", $results, $errorCode);   if ($errorCode){   if ($errorCode == 1){   echo "Possibly no files were found with ?$oldword in them \n";   }   echo "OS E... 阅读全文
posted @ 2010-03-28 01:43 corange 阅读(272) 评论(0) 推荐(0)
 
用php截取utf-8中文字符串乱码的解决方法
摘要: 去年底,特别是11月12月比较忙,过年休息了一个月,3月也忙了一阵,就没有在这边发博客,现在把之前发的一些转发过来,毕竟这边看的人会多一些.用php截取utf-8中文字符串乱码的解决方法: 在PHP中截取UTF-8编码的字符串时,有可能碰到半字符的问题,也就是乱码,以下函数可以解决这个问题: function utf8_substr($str,$len) {   for($i=0;$i<$l... 阅读全文
posted @ 2010-03-28 01:40 corange 阅读(285) 评论(0) 推荐(0)
 
 

2010年3月2日

AJAX 表格字段数据排序,点击表头每列排序
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=g 阅读全文
posted @ 2010-03-02 16:03 corange 阅读(467) 评论(0) 推荐(0)
 
 

2010年1月24日

CSS滑动门技术实现TAB标签切换效果实例,支持各种浏览器
摘要: CSS滑动门技术实现TAB标签切换效果实例: 就是我们经常看到的鼠标滑过标签切换页面.可兼容ie,firefox,opera等浏览器. 以下代码是为兼容opera而加的. @media all and (min-width: 0px){/* 自己添加的css样式 */} /* 例子: */ @media all and (min-width: 0px){#title{height:23px;}} 代码实例如下: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www 阅读全文
posted @ 2010-01-24 18:30 corange 阅读(311) 评论(0) 推荐(0)
 
FLASH效果,通过xml文件链接数据
摘要: 文件如下 <BODY> <SCRIPT src="swfobject.js" type=text/javascript></SCRIPT> <SCRIPT language=javascript> var flashvars = {}; flashvars.myxmlpath = 'content.xml'; flashvars.type = 'content'; flashvars.decription = '0'; flashvars.textstyle = ' 阅读全文
posted @ 2010-01-24 18:28 corange 阅读(169) 评论(0) 推荐(0)
 
 
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 83 下一页

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3