Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетил 17571 программист и 1724 робота. Сейчас ищут 879 программистов ...

Net_FTP::pwd()

Вернуться к: Net_FTP

Net_FTP::pwd()

Net_FTP::pwd() – returns the directory on the server you are currently in.

Synopsis

require_once 'Net/FTP.php';

mixed Net_FTP::pwd ( )

Returns the directory currently selected on the server.

Return value

mixed - path (absolute) as string on success, otherwise PEAR::Error.

Throws

The returned PEAR_Error object in case of an error is unspecific. You can ignore the errornumber and errormessage, because only "Could not determine the actual path" will be returned if the operation fails.

Note

This function can not be called statically.

Example

Using pwd()

<?php

  
echo $test->pwd();

?>


Вернуться к: Net_FTP

© 2025 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware