|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-06-19 17:44 UTC] curt@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 09:00:01 2025 UTC |
Description: ------------ ftp_exec returns boolean, and example of this function in manual uses return value of this function as it was a string: if ($res = ftp_exec($conn_id, $command)) { echo "$command executed successfully<br />\n"; echo nl2br($res); } else { echo 'could not execute ' . $command; }