previousConstants (Previous) (Next) Net_FTP::connect()next

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Net_FTP::Net_FTP()

Net_FTP::Net_FTP() – コンストラクタ

Synopsis

require_once 'Net/FTP.php';

object Net_FTP::Net_FTP ( string $host = null , int $port = null )

Description

FTP サーバと通信するための新規オブジェクトを生成します。

Parameter

  • string $host = null - 接続先ホスト(IP アドレスあるいはドメイン名のいずれか)。

  • int $port = null - サーバへの接続のためのポート番号。

Return value

object - 新規 Net_FTP オブジェクト

Note

This function can not be called statically.

Example

Net_FTP() の使用法

<?php

  
require_once 'Net/FTP.php';

  
$test = new Net_FTP('ftp.mydomain.com'21);

?>
previousConstants (Previous) (Next) Net_FTP::connect()next

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.