teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

関数名じゃ無かった…-でなく_でしょ

2015/10/20 12:46

投稿

raccy
raccy

スコア21784

answer CHANGED
@@ -6,7 +6,7 @@
6
6
  ```PHP
7
7
  move_uploaded_file($_FILES['afile']['tmp_name'], $afile_filepath);
8
8
  ```
9
- bfileですが、[ssh2-scp-send()](http://php.net/manual/ja/function.ssh2-scp-send.php)を使うのがいいのでは無いでしょうか?(SSH2モジュールを入れておく必要があります、実際は下記にエラー処理とかも追加してください)
9
+ bfileですが、[ssh2_scp_send()](http://php.net/manual/ja/function.ssh2-scp-send.php)を使うのがいいのでは無いでしょうか?(SSH2モジュールを入れておく必要があります、実際は下記にエラー処理とかも追加してください)
10
10
  ```PHP
11
11
  $session = ssh2_connect($other_server_hostname);
12
12
  ssh2_auth_password($session, $other_server_username, $other_server_password);