$arr = [1,2,3]; var_dump($arr); syntax error, unexpected [ ; tp;...
sql WHERE service_time BETWEEN 1527782400 AND 1530460799 how to add an index does not work ...
$text = ComposerComposer PHP (dependency)Composer:phpercomposercomposer:http: www.phpcomposer.com composer:https: getcomposer.org download :composer:composer config -g repo.packagist composer https: packagist.phpcomposer.com:https: packagist.org ...
as in the question, when I add or remove indexes for a table in the database, I have two choices use alter table to change the table structure use the create drop index command Which of these two methods is better? What I want to consider is, if ...
json data is: { "code": 0, "msg": "", "data": { "2": { "project_id": 2, "project_name": "V", "project_parent_id...
function echo_var_dump($obj){ echo ""; echo var_dump($obj); echo " "; } Function GetCurl ($url) { curl forges useragent $useragent = array ( Mozilla 4.0 (compatible; MSIE 8.0; Windows NT 6.0) , Mozilla 4.0 (compatib...
simple small projects can be validated normally when the data is inserted into the database when the validation field is customized. If you want to use this set of validation methods when updating data, you need to verify whether a field, such as the ca...
I want to be an e-commerce website. is paired with php + mysql . Now I have a big problem . At present, I intend to do a customized service , that is, this set of e-commerce websites are sold directly to you, and all the functions are maintained by me....
use laravel passport as api authentication. A valid token has been applied for using the authorization code. works well in postman : javascript javascript : I said that I am particularly speechless, why postman using token is norm...
system Information php 7.1 MariaDB 10 Laravel 5.6 centos 7 when users place an order using the balance, they will have a series of table operations: 1, update the balance field of the user table 2, insert data 3 into the balance record table, c...
the following code: Route::middleware([ cross , options , auth:api ])->group(function(){ Route::match([ get , post , options ] , test oauth , Test@oauth ); }); normal I think the middle execution order: cross-> option...
Overview I want to use the svg-sprite-loader package to handle the SVG icon, referring to vue-element-admin . index.js on Github. question I follow the teacher s tutorial Portal to configure webpack. . but found that looking at the defaul...
for example, WordPress s Chinese official website: https: cn.wordpress.org, I add a few slashes to this URL, so: https: cn.wordpress.org , it will automatically jump to the normal URL. segmentfault.com do any great gods know how this is achie...
Why do I report an error when I write like this? I don t understand the code is as follows <table border=1> <?php for ($i = 1; $i < 10; $iPP) { ?> <tr> <?php for ($j = 1; $j < 10; $jPP) {?> <...
post post_type picture_type there are many strange table names in existing databases, as follows: post_post_type picture_picture_type user_user_group how are these intermediate relational tables elegantly named? or there is somet...
check one of the features I need now is that ajax and curl interact with each other at least five times for example, I ajax-> call.php will call me back and then send it back to me I m going to call another call2.php and give it to me again. I ...
the URL I filled in is: https: wx.juston.club MP_ver. can read the contents of the TXT file if it is accessed directly. But what is the wrong format? ...
proxyTable: { server : { target: http: localhost:8000 , ? secure: false, https? changeOrigin: true, ? pathRewrite: { ^ api : } } user : { tar...
I tried to install the Spatie s Laravel-permission Joseph Silber s Bouncer packages, but I added permissions for the role, and I didn t know what the added permissions were. The previous permission management was roles corresponding to users I w...
question: the false,curl_error returned by curl_exec is empty, and the http_code under getinfo is 0. I am requesting a shielded identity authentication API. The request configuration is shown in the following figure ,,info, php7.24,(curl_init,)cu...
Today, I heard others say that when designing a micro-service architecture, all the kubernetes that can be implemented by, spring cloud can be realized. I don t know how to understand spring cloud, as I understand it, should be an one-stop way to bui...
1. The compilation times is wrong as shown in the figure . gcc6.2.0, ...
mainly use SFTP to upload this file. Whether it is cut at the front end or cut at the back end of php. It has not been uploaded into slices before. I hope you can give us some ideas and ask for help ....
How does the URL in XmlHttpRequest.open () write the code in the controller as follows: public function check () { $name = array( eq ,I( get.name )); $user = D( User ); $result = $user->field( name )->where($name)->find();...
Click the Exception class with the left mouse button of ctrl+; unexpectedly, it jumps to a file that is not in laravel. could you tell me what this is all about? how can a core.php. come out of a good end ask for answers ...