tomore

tomore的日志

tomore的主页

日记

  • tomore
    服务器:windows2003 ,mysql 5 ,php 4.4 问题描述:Can't create a new thread (errno 12)引用:http://bugs.mysql.com/bug.php?id=28387 MySQL的默认保留所有打开的线程在“sleep”模式为 10000秒(或8小时),查看mysql Admin的参数 也是如此,在进程里查看有很多sleep进程,时间在4000秒以上。修改my.ini, 增加2个参数: innodb_thread_slee
    355 次阅读|没有评论
  • tomore
    去年,研究了一下如何"在mobile手机上通过网页拨打电话及存储号码", 也就是说, 在一个网页里插入一个链接, 当用户点击后可以直接弹出手机的呼叫界面并自动拨号, 最后找到了一个方法, 写出来分享给大家(买一送一,附送一个"通过网页存储电话号码"的方法):   通过网页拨打电话   
    496 次阅读|没有评论
  • tomore
    很多移动网站上可以点击页面中的一个电话号码链接来拨打电话。 有两种方式来实现。 一种是: 代码: <a href="wtai://wp/mc;电话号码"> 另一种是 代码: <a href="tel:电话号码"> 很早以前,据传,可以通过Request.ServerVariables("????")来取得
    396 次阅读|没有评论
  • tomore
    MySQL数据库服务器出现了频繁的掉线情况,windows系统下安装的MySQL且打了微软KB967723这个补丁造成的,网上一共提供了两种方法: 第一种:卸载KB967723补丁 登录服务器,进入控制面板 — 添加和删除程序 — (勾选上方的“显示更新”)在里面可以看到更新的KB967723这个补丁,然后就想卸载普通软件一样卸载,卸载中会提示你,如果卸载
    分类: 开发心得|693 次阅读|没有评论
  • tomore
    在linux 里试图挂载另外一块硬盘,其中的一个分区是LVM2格式的,不能直接:“mount /dev/sdb3 /mnt/sdb3”,查找挂载方法破费了一番周折,记录如下,以备不时之需。   1、pvs    # /sbin/pvs   WARNING: Duplicate VG name VolGroup00: Existing tWwhxK-0M8r-sqhQ-VW7m-0BYv-BPkO-pgBRM8 (created here) takes precedenc
    分类: linux|1171 次阅读|没有评论
  • tomore
    <?php // Returns true if $string is valid UTF-8 and false otherwise. function is_utf8($string) { // From http://w3.org/International/questions/qa-forms-utf-8.html return preg_match('%^(?: # ASCII | # non-overlong 2-byte | \xE0 # excluding overlongs | {2} # straight 3-byte | \xED
    1334 次阅读|没有评论
  • tomore
    uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, CHILKATHTTPLib_TLB, OleCtrls; ... procedure TForm1.Button1Click(Sender: TObject); var req: TChilkatHttpRequest; http: TChilkatHttp; success: Integer ; username:
    887 次阅读|没有评论
  • tomore
    procedure TForm1.Button1Click(Sender: TObject); var http: TChilkatHttp ; success: Integer ; html: String ; begin http := TChilkatHttp .Create(Self); // Any string unlocks the component for the 1st 30-days. success := http. UnlockComponent ( 'Anything for 30-day trial' );
    1349 次阅读|没有评论
  • tomore
    uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, CHILKATHTTPLib_TLB, OleCtrls; ... procedure TForm1.Button1Click(Sender: TObject); var http: TChilkatHttp ; success: Integer ; req: TChilkatHttpRequest ; domain
    956 次阅读|没有评论
  • tomore
    uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, CHILKATHTTPLib_TLB, OleCtrls; ... procedure TForm1.Button1Click(Sender: TObject); var success: Integer ; http: TChilkatHttp ; req: TChilkatHttpRequest ; domain
    744 次阅读|没有评论
< 1~10 >