<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                1. 使用composer install安裝laravel或其依賴等,會出現如下錯誤信息 ``` Loading composer repositories with package information Updating dependencies (including require-dev) Authentication required (packagist.phpcomposer.com): username: 網上搜索得知,需要換源, composer config -g repo.packagist composer https://packagist.laravel-china.org 結果還是出現同樣的錯誤 composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ 換為阿里的源后,解決 https://blog.csdn.net/qq_27295403/article/details/82984306 ``` 2. 安裝laravel,需要準備好mysql環境,php版本>=7.1 ,否則會報錯,redis服務(提供密碼),配置可以到項目目錄下的 .env 下查看; 注意:web的根目錄應該指向laravel項目的 public/ 下 3. 服務端如何接收客戶端傳遞的參數? ``` get,form-data,www-form-urlencoded可直接用$_GET,$_POST獲取 application/json是用“php://input” $res = file_get_contents("php://input"); $ArrData = json_decode($res,true); ``` 4. php判斷0,空 可以使用 strlen(0) , strlen('') 來判斷 5. mysql5.7及以上版本的sql-mode有ONLY_FULL_GROUP_BY問題,導致group by查詢出錯 ``` 在mysql.ini中的[mysqld]下面添加如下內容: sql-mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" ``` 6. 取二維數組的某值,組成一個新的一維數組 ``` $$userIds_arr = Array ( [0] => Array ( [id] => 100000 ) [1] => Array ( [id] => 200000 ) ); $new_arr = array_column($userIds_arr , 'id'); ``` 7. 一些常見的技術應用 Highcharts * 系列軟件包含 HighchartsJS,Highstock JS,Highmaps JS 共三款軟件 * Highcharts 是一個用純 JavaScript 編寫的一個圖表庫 郵件發送 PHPMailer jpgraph----用于繪制統計圖的運行庫,是一種面向對象的圖像繪制庫,基于GD庫 第三方分享 jiathis addthis 富文本編輯器 百度 導出excel PHPexcel類 圖片加文字,圖片水印,以及生成縮略圖 GD庫 8 . 使用vagrant,借助homestead搭建的虛擬機中,啟動后,使用composer安裝laravel,出錯 ![](https://img.kancloud.cn/ee/49/ee494c62021e8681cb86e386ccbaa06e_845x265.png) 9. nginx偽靜態,默認參數 ``` location / { try_files $uri $uri/ /index.php$is_args$query_string; index index.php index.html; # include D:/duoyou/dy_advert_admin/nginx.htaccess; autoindex off; } fastcgi_param RUNTIME_ENVIROMENT local; ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看