note 124940 added to function.ftp-get-option

From: Date: Thu, 23 Apr 2020 18:22:22 +0000
Subject: note 124940 added to function.ftp-get-option
Groups: php.notes 
Request: Send a blank email to php-notes+get-214527@lists.php.net to get a copy of this message
Please note that you can use this function to get the value of FTP_USEPASSIVEADDRESS option also : <?php $conn = ftp_connect("host"); $login = ftp_login($conn, "user", "password"); var_dump(ftp_get_option($conn, FTP_USEPASVADDRESS)); // true (which is the default value) ftp_set_option($conn, FTP_USEPASVADDRESS, false); // change the value var_dump(ftp_get_option($conn, FTP_USEPASVADDRESS)); // false ?> ---- Server IP: 45.112.84.4 Probable Submitter: 185.85.3.195 (proxied: 105.158.245.86) ---- Manual Page -- http://php.net/manual/en/function.ftp-get-option.php Edit -- https://master.php.net/note/edit/124940 Del: integrated -- https://master.php.net/note/delete/124940/integrated Del: useless -- https://master.php.net/note/delete/124940/useless Del: bad code -- https://master.php.net/note/delete/124940/bad+code Del: spam -- https://master.php.net/note/delete/124940/spam Del: non-english -- https://master.php.net/note/delete/124940/non-english Del: in docs -- https://master.php.net/note/delete/124940/in+docs Del: other reasons-- https://master.php.net/note/delete/124940 Reject -- https://master.php.net/note/reject/124940 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#214527) next »