Month: April 2014
-
Post Views: 12 Since in the URL: http://pecl.php.net/package/memcache/3.0.8/windows The related version of DLL extension of PHP5.2 in the Windows environment cannot be downloaded, as shown in the figure: Finally re-search for a URL:http://museum.php.net/php5/,在其中下载的文件为: PECL-5.2.6-Win32.zip (Because ISAPI is used to execute php, so I chose the thread safe version, which is like this in httpd.conf: loadmodule php5_module c:/php/php5apache2_2.dll is the NS…
-
Post Views: 11 Furtherhttp://localhost/phpmyadmin有时候会被跳转至http://www.localhost.com/phpmyadmin,最后的解决方案为: Insert after phpinidir “c:/php” in the httpd.conf file loadfile “c:/php/php5ts.dll” loadfile “c:/php/libmysql.dll” Just solved! The specific environment of this problem is Apache/2.2.15 (Win32) PHP/5.2.17 Database client version: libmysql – 5.0.51a php extension: mysqli documentation
-
Post Views: 8 Screenshot of problem: Since on the first installation, install TO did not select the default drive letter, but chose the D drive, which caused this problem to occur the first time, and later even if it was completely deleted through the 360 software housekeeper, and the registry was cleared, and even all the files and folders related…
-
Post Views: 52 The difference between echo(), print(), print_r() echo() is a language structure, no return value The function of print() is basically the same as echo(), and it is also a language structure. The difference is that print has a return value, and always returns 1 print_r is a recursive print for output array objects 2. What is the…
-
Post Views: 11 Final print code: print_r($_post); echo(date(y-. $_post[‘start_time’].-01 00:00:00)); echo(date(Y-M-T 23:59:59, strtoTime(date(y-. $_post[‘end_time’].)))); echo exit(); Print result: array ([CustomerRebate]=> array ([money]=> 1000[sale_uid]=> 31 )[start_time]=> 1[end_time]=> 10[yt0]=> confirm ) 2014-1-01 00:00:002014-10-31 23:59:59 Perfect support for reading the first day and last day of a certain month, that is, a certain time range!
