From professional translators, enterprises, web pages and freely available translation repositories.
ldap_bind() does a bind operation on the directory. bind_rdn and bind_password are optional. if not specified, anonymous bind is attempted.
ldap_bind() does a bind operation on the directory. bind_rdn and bind_password are optional.
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
?php // set up basic connection $conn_id = ftp_connect($ftp_server); // login with username and password $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass); // check connection if ((!$conn_id) _bar__bar_ (!$login_result)) {echo "ftp connection has failed!"; echo "attempted to connect to $ftp_server for user $ftp_user_name"; die;} else {echo "connected to $ftp_server, for user $ftp_user_name";} // upload the file $upload = ftp_put($conn_id, $destination_file, $source_file, ftp_binary); // check upload status if (!$upload) {echo "ftp upload has failed!";} else {echo "uploaded $source_file to $ftp_server as $destination_file";} // close the ftp stream ftp_close($conn_id);?
prev
Last Update: 2011-10-24
Usage Frequency: 1
Quality:
Warning: Contains invisible HTML formatting