2020-11-08から1日間の記事一覧
ネタ元 https://techacademy.jp/magazine/12298
explode() — 文字列を文字列により分割するsplit()はもう非推奨。 ネタ元 https://www.php.net/manual/ja/function.explode.php
strtotime()を使おう today = date("Y/m/d"); $target_day = "2014/06/10"; if(strtotime($today) === strtotime($target_day)){ echo "ターゲット日付は今日です"; }else if(strtotime($today) > strtotime($target_day)){ echo "ターゲット日付は過去です"…
strlen()だとbyte単位になる。 ネタ元 https://www.flatflag.nir87.com/strlen-671#mb_strlen-2
・SSHでログイン dos窓とかで。 ssh あなたのアカウント@あなたのドメイン.sakura.ne.jpその後Password聞かれるので入力でログイン・以下コマンドでComposerインストール curl -sS https://getcomposer.org/installer | php以下でComposerインストール状況確…