自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

风随云动 之 PHP 全攻略

My PHP & more...

  • 博客(32)
  • 收藏
  • 关注

原创 FLEX DataGrid for PHP

http://www.blueidea.com/tech/multimedia/2004/2130_4.asp

2008-08-20 15:42:00 647

转载 PHP连接Oracle

php.ini配置中要去掉 ;extension=php_oracle.dll 前的分号即 extension=php_oracle.dll     1,连接数据库   使用ora_logon()或者ora_plogon()来连接上数据库 ora_plogon功能与ora_logon类似,只不过ora_plogon开启与 Oracle 的长期连结 直至web服务停止   $handle = ora

2007-12-21 13:47:00 894

转载 php中相关乱码处理

本文的作用是为了全方位的避免因使用UTF-8编码而产生的乱码问题,不包含具体的乱码解决方案和编码转换的内容。对于UTF-8编码的深入了解,请参阅:《PHP匹配UTF-8中文字符的正则表达式》1、 编辑器:不要使用任何微软的编辑器,什么Frontpage,Web Designer,记事本,写字板什么的,能丢的全部丢开,因为这些编辑器会在你的UTF-8文档前面产生BOM,关于BOM的具体说明,可以在

2007-12-21 13:44:00 2520

原创 PHP将mysql数据表转换为excel文件

测试代码:$DB_Server = "127.0.0.1"; $DB_Username = "root"; $DB_Password = ""; $DB_DBName = "parsersample"; $DB_TBLName = "sampledata"; $Connect = @mysql_connect($DB_Server, $DB_Username, $DB_Password) or d

2007-12-21 13:39:00 860

原创 PHP导入EXCEL到mysql

用php导入excel表到mysql中的类PHPExcelParserPro Click Here To Download

2007-12-21 12:04:00 3035 1

原创 webquery 一个bug的重大发现!

我郁闷了一天的时间, 为了研究webquery的一个很奇怪的现象. 就是会无缘无故的跳出一个 dialog box, "Enter Parameter Value" for "parameter1" 原来, 如果你的webpage 是用的GET method 来把 parameter 传到下一个 page, 的话, URL上就会: example: http:/

2007-09-21 10:03:00 940

原创 webquery 简介及应用

web query 是个很神奇的东东. 它可以让你从 excel 直接抓去各种表格,数据. 同时不会影响表格的格式. 更实际点的应用, 你甚至可以用webquery查看当天最新的股票价格之类的, 只要有表格的地方都行, 然后还可以用新拿到的数据进行各种计算. 文件是以 .iqy 结尾的格式 网上关于 web query 的应用文章不多, 写的也不好. 我就在这里详细注释一下吧. 其实, we

2007-09-21 10:02:00 3038

原创 webcollab - free web-base system for project management

recently I found this nice free web-base system for project management. you can refer to the link below: http://webcollab.sourceforge.net/index.html webcollab is easy to install, easy to use and it

2007-09-21 10:00:00 664

原创 有用户界面的 php compiler

Priadoblender. Home Page qVU,gE7;  you can download from here L{$xbx  除此之外,还有其他的compiler, 比如: Bambalam PHP exe compiler, PHP Bytecode Compiler. IA1}dqoa  都没有用户界面,我就不一一介绍了。my blog: http://re

2007-05-08 11:27:00 981

翻译 php写的 html table generator. 可以自动生成列表.很好用的

class html_table{      var $bgcolor = "";            // Tables bgcolor      var $width = "100%";            // Tables width      var $cellspacing = 1;            // Tables cellspacing      var $cel

2007-05-08 11:23:00 3035

原创 从一个string 里面搜索一个或几个chars

if(strpbrk($string, $char)=="") 就是这个String 里面找不到要的char. 

2007-04-30 15:27:00 662

原创 MYSQL execution time comparison(MYSQL 运行时间比较)-subselect vs select from 2 table

table t: device | lot | table o: device  1. subselect==> 运行时间(execution time) = 6000 msselect distinct device from t where lot = xand (device in (select distinct device from o where device l

2007-04-24 14:13:00 1082

原创 php 怎样去掉一个string 后面的一个或多个字符(how to remove the last n chars from a string)?

我以为用php 的 chop 就可以,不过错了, chop 只是可以去处 string 里面的 space 之类的。所以我自己写了一个 function 来去除 string. function cut_string_from_right($OPN,$i){    $n=strlen($OPN);    $n=$n-$i;    substr($OPN,1,$n);} 只要这样一个简单的funct

2007-04-24 09:28:00 2015

原创 如何用MYSQL 做 Pivot Table?

"pivot table" or a "crosstab report"(Note: this page needs to be wikified)SQL Characteristic Functions: Do it without "if", "case", or "GROUP_CONCAT".Yes, there is use for this..."if" statements s

2007-04-03 15:26:00 11191

原创 Microsoft Access: ActiveX component cannot create object

original file: http://support.microsoft.com/kb/319841/zh-cn hd;^#+YOD  Xp0Pa3vZ  m@CT>0 j{  解决方案 )u,Q$z*6  原因 1:未正确注册 DAO jUf p:fZJf  解决方案 *M 1.      在承载有 Microsoft Windows 终端服务器或安装有 Microsoft Acce

2007-03-27 14:12:00 1897

原创 Replace function in MySQL

I want to Replace a column of data to empty if length(column) D1i@@>9sh  2?85Z$j  First of all, I searched "Replace" statement 2~$D +[q&3X9:%  Replace into test_out_realtime SET `PROGRAM` = repla

2007-03-27 14:12:00 682

原创 Php部分常见问题总结

Php部分常见问题总结 Q`J( IdF  https://www.phpx.com/thread-38769-1-1.html 6=1YE3K$  yrF$V%�)  @_M ui 4  若有出错地方或者你有更好的想法,欢迎跟贴. E[>}qN{L!  W#TD9~/F  25 0.r  在提问题前请先仔细查阅PHP手册,MYSQL手册 以及PHPINFO里面的设置

2007-03-27 14:11:00 10157

原创 how to enable or disable registry editing in xp

when i try to run registry editing its say your registry editor has been disabled by your administrator. F4+TER S;d,dR?  how to do? Xsl5^QW  here is the solution i verified: > M/cV*y  copy the

2007-03-27 14:11:00 828

原创 Why do we get error "Call to undefined function: ora_logon()/ ocilogon()"?

PHP is not using the correct extension module. Try compiling PHP with the following options: a}J*|/ `  J*p>lu:  --with-oracle=/path/to/oracle/home/dir R --with-oci8=/path/to/oracle/home/dir K%�

2007-03-27 14:10:00 4142 1

原创 split-PHP

split D[RWc>w  wqo_b7IVG  (PHP 3, PHP 4, PHP 5) RrBdL}Y-Y  split -- 用正则表达式将字符串分割到数组中 NJ3";W 8N  说明  4%d: m$  array split ( string pattern, string string [, int limit] ) p-)4]51  _lQX,, Z

2007-03-27 14:10:00 1305

原创 server transfer

If you server website address is changed from www.A.com to www.B.com I4(D3N~  If user still go to A, how to re-direct users Browser to B. Q&T.~+eP  %�DL"C8[ e  here is the solution for Apache se

2007-03-27 14:09:00 908

原创 warning:Cannot modify header information

Warning: Cannot modify header information - headers already sent by (output started at /home/content/f/u/n/function/html/Connections/connBlueSky.php:12) in /home/content/f/u/n/function/html/order_hist

2007-03-27 14:09:00 566

原创 关于pear

PEAR 中文手册-phpv.net译制版  9D1w_T  http://pear.phpv.net/cn/index.html #qUJdeo(  T391s5  PEAR简介:用PEAR来写你的下一个php程序 

2007-03-27 14:08:00 457

原创 Install PEAR Problem

problem 1: x y/5DU(@  when install PEAR, my PHP is 5.2 version. which has a bug in PEAR. )1@ 7 Hj9  会出下面的warning: /} x-m$7k  Warning: Cannot use a scalar value as an array in Z nl >W:  zVeUi PX  

2007-03-27 14:08:00 5874

原创 MySQL: Incorrect key file, try to repair it

run below comment in MySQL:repair table test_out_realtime fMM5@ 6CP  D&)~{It~/W  use this command to repair table 

2007-03-27 14:07:00 605

原创 undefined function imagecreatefromjpeg()

 原因可能有2个: G5~MVWmx  1) 你没有enable php_gd2.dll. P(l+&:3d  go to php.ini, enable "extension=php_gd2.dll" u=l67i0  restart server U:c/  v&6zN 6  2) 可能是你没有php_gd2.dll文件... 可以去 ?/2 i  ww

2007-03-27 14:07:00 1762

原创 PHP to Telnet

刚刚发现通过PHP, 用telnet方式连接UNIX server 的方法。 RoX~1)etH  .R[eFTYba  这个是一个class 文件. 通过这个class, 可以实现PHP to Telnet 啦。 P1{ub k  �aa+ny  you can download the class here: PHPTelnet Class kb o/:u7W?  Usa

2007-03-27 14:06:00 7897

原创 find & replace text tool

 if you need to find and replace a text among 10000 files... it is gonna be a touch job. I`I{VG Gc  now I introduce this tool for you: ;{5?(QH;)  (6}Kuv? actualsr {b9|r& http://www.divlocsoft.com/

2007-03-27 14:05:00 685

原创 把一个变量变成integer

 用Intval可以从一个变量中提取integer值出来。 /Ho;jvP  K_sNP(|D   v,/!,@)  echo intval(42);               // 42 0I^q9E`  echo intval(4.2);             // 4 }s. C=K  echo intval(42);             // 42

2007-03-27 14:04:00 581

原创 export data from mySQL to csv

 怎么把数据送MySQL database export to csv? N=o~/%Wz|  jsp VUQ4  非常简单: QQ:` {r  8!weV   p17YBf�C  // Connect database %rfZ2HD R4  $database="yourdatabase"; ^)kuiU!y  $table="yourtable"; uf mysql

2007-03-27 14:03:00 1048

原创 Can't connect to MySQL server on 'localhost' (10048)

 Cant connect to MySQL server on localhost (10048) +;v$!#  O6; 052Oi  这个bug出现在一个LOOP里面,每跑一次,会连接一次MySQL database. R $/=` G}  gsTv>5  在我自己的Windowx XP 没有出现,不过在 windows 2003 server, x32. 会出现。 

2007-03-27 14:02:00 1358

原创 compile PHP_to_exe file

 有用户界面的 php compiler: (s$6 dU  I dN(2*b  Priadoblender. Home Page Ay{Mp/CoG  %+[NdTg^,  you can download from here $yKim+ E,  X"w  除此之外,还有其他的compiler, 比如: Bambalam PHP exe compiler, PHP

2007-03-27 14:01:00 2904

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除