2016-12-01から1日間の記事一覧

cronの設定方法(プラスアルファレンタルサーバーの場合)

web

https://www.plus-server.net/faq/topic.php?go=topic&num=112

シェルスクリプト入門

sh

一番上に#!/bin/sh入れるの忘れないでね #!/bin/sh echo "Hello World!"ネタ元 http://motw.mods.jp/shellscript/tutorial.html

phpで配列に含まれる項目数を取得する(count)

php

count()を使う <html> <head><title>PHP TEST</title></head> <body> '); print('再帰的に数えた場合、項目数は'.$cou…</body></html>

phpで文字エンコードを変換する(mb_convert_encoding)

php

$str = "元になっている文字列"; $str = mb_convert_encoding($str, "SJIS", "UTF-8");ネタ元 http://www.phpbook.jp/func/string/index5.html