PHP ftp_raw() လုပ်ဆောင်ချက်
ဥပမာ
FTP ဆာဗာသို့ချိတ်ဆက်ပြီး ညွှန်ကြားချက်များကို လုပ်ဆောင်ပါ-
<?php
// connect to FTP server
$ftp_server = "ftp.example.com";
$ftp_conn = ftp_connect($ftp_server) or die("Could not connect to $ftp_server");
// the two lines below is the same as: ftp_login($ftp_conn,"john","secretpassword");
ftp_raw($ftp_conn, "USER john");
ftp_raw($ftp_conn, "PASS secretpassword");
?>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ftp_raw() လုပ်ဆောင်ချက်သည် FTP ဆာဗာသို့ အကြမ်းအမိန့်တစ်ခု ပေးပို့သည်။
အထားအသို
ftp_raw(ftp_conn, command);
ကန့်သတ်တန်ဖိုးများ
Parameter | Description |
---|---|
ftp_conn | Required. Specifies the FTP connection to use |
command | Required. Specifies the command to execute |
နည်းပညာဆိုင်ရာအသေးစိတ်
ပြန်ပို့တန်ဖိုး- | ဆာဗာမှ တုံ့ပြန်မှုသည် strings များဖြစ်သည်။ |
---|---|
PHP ဗားရှင်း- | ၅+ |
❮ PHP FTP အကိုးအကား