for example, I have a variable that needs to store a list of online users. I declare a global variable directly in the swoole server file and store the information of each online user in the form of a two-dimensional array. Swoole itself is resident in m...
the problem we are facing now: opening the home page of the website requires statistics of a lot of tables, and each temporary summary will be very slow. if you do a data statistics function alone, you will need a lot of extra workload and redundant d...
this is the json structure of Fang Hui this is my method if I want to show it <? foreach ($dataUserList->{ themes } as $key) { ?> <? foreach ($key->{ theme-participants } as $value) { ?> <?=$value->...
$ymdh = date( Y m d H ); $findOrderSoFar = mysqli_fetch_array($pdo->query( "SELECT count(public_order_id) as num FROM `order_record` WHERE FROM_UNIXTIME(add_time, %Y %m %d %H ) = {$ymdh} " )); $i $i = $findOrd...
this is the json result of my json_decode counterpart returning to me stdClass Object ( [attributes] => Array ( [0] => stdClass Object ( [attribute-id] => 5c6186217d4d0765152e42f7 ...
" appcms taglib CmsTagLib " t ...
I d like to ask a question suppose there are three websites on different servers , but all three sites have common files, which may include js, css, and some php function . How can I manage shared files at this time? if the shared file is updated, wil...
return QueryList::get($url)->rules($rules)->range($range)->query(function ($item){ $re = []; $rt = QueryList::get($item[ link ])->query(); $re[ title ] = $rt->find( .gb-final-pn-article>h1 )-...
the problem I face now is I have a datasheet that is almost 1 million. it s not a way to go on like this. how can I separate it out, but I can still use the data from the datasheet? because suppose I export it to the drop table I can t use it ...
if ( $row[ sale_type ] == pre && $row[ stock_type ] == or $row[ sale_type ] == && $row[ delivery_from ] != 0 or $row[ sale_type ] == && $row[ delivery_from ] == 0 && $row[ ...
first introduce the environment Linode ubuntu16.04,apapche,php7.3,mariadb current dilemma in my website folder, strictly speaking, there are three kinds of projects, one is e-commerce, one is blog, and the other is front-end and background . But now...
PHP version 7.1.25, server CentOS 7, follow the link to install the amqp extension (your own rabbitmq-c version is 1.8.0 rel= apmq version 1.9.4). After restarting the service, enter [php-m] to prompt [PHP Warning: PHP Startup: Unable to load dynamic l...
two hypotheses A $do->query( "INSERT INTO `abc` ( `public_order_id`, `add_time`, `status` ) VALUES ( {$public_order_id} , {$add_time} , ) &...
echo date( Y-m-d , strtotime( last month , strtotime( 2018-12-31 ))) this output 12-01 ...
use laravel Cache::get () Times error, version PHP7, error file vendor laravel framework src Illuminate Cache MemcachedStore.php igbinary extension is installed ...
I have tried the following ways, either garbled or reported an error. $strInput = "Li Li ad ss "; output is normal, no garbled echo $strInput; : iconv (): Unknown error echo iconv ( utf-8 , gb2312 ,$strInput); garbled echo ico...
I have tried the following ways, either garbled or reported an error. $strInput = "Li Li ad ss "; output is normal, no garbled echo $strInput; : iconv (): Unknown error echo iconv ( utf-8 , gb2312 ,$strInput); garbled echo ico...
after executing this command, you can open an extension, but I don t quite understand what this principle is. I wish I couldn t find the line that opened the extension in the php.ini configuration file. I hope seniors can explain this. ...
function xlsBOF() { echo pack("ssssss", 0x809, 0x8, 0x0, 0x10, 0x0, 0x0); } function xlsEOF() { echo pack("ss", 0x0A, 0x00); } function xlsWriteNumber($Row, $Col, $Value) { echo pack("sssss", 0x203, 14, $Row, $Co...
redis > SETBIT bit 10086 1 (integer) 0 redis > GETBIT bit 10086 (integer) 1 redis > GETBIT bit 100-sharp bit is initialized to 0 (integer) 0 by default. ...
problem description question such as question: there is a user information table in the project. After editing and modifying the table, the page information needs to be refreshed. Mini Program cannot re-request this API? the environmental background...
I don t know why the picture that starts playing will be very small. If you cancel the full screen after the full screen, the picture will be full of div boxes ...
problem description After flex-item (parent element flex positioning, flex-item refers to its child elements) sets overflow-x: visible; overflow-y: auto , the x-axis beyond the container is not displayed. This is obviously not in line with the settin...
when sending an ordinary string, it can jump to Wechat normally, but when calling the login authorization, it returns code, without confirming the login, and then calling to get access_token is also a normal return. What s wrong? my code: public clas...
LAST_ACK 5 SYN_RECV 2 CLOSE_WAIT 2 ESTABLISHED 863 FIN_WAIT1 22 FIN_WAIT2 106 TIME_WAIT 4698 when the ESTABLISHED reaches 2000, the sharp-sharp-sharp problem description is gradually increasing. the server Aliyun 4-core 16G, run unsatisfactori...