2014-05-30

PHPでheader()を使ってHTTPヘッダを送信する

忘れるのでメモっておく。

header("Content-type: text/html; charset=UTF-8");
header("Content-type: text/html; charset=Shift_JIS");
header("Content-type: text/html; charset=EUC-JP");

0 件のコメント:

コメントを投稿

sftp専用ユーザー

sftp専用ユーザーはsshでもログインできる必要があるので、ftp専用ユーザーのように、-s /sbin/nologin としない。 # useradd sftpuser # passwd sftpuser New password: Retype new passwo...