PHP TP3.2 programming interface curl access has no effect, help to see the reason.

//    
    public function curlSendEmails(){
        $get = I("get.");
        $userObj = M("User","","DB_ONE");
        $meailObj = M("Mail","","DB_ONE");
        $result = $userObj -> field("id") -> limit($get["star"],$get["end"]) -> select();
        $l = array(
            "userId" => 0,
            "type" => $get["type"],
            "fromName" => $get["fromName"],
            "title" => $get["title"],
            "content" => $get["content"],
            "replaceArgs" => $get["replaceArgs"],
            "items" => $get["items"],
            "isPicked" => $get["isPicked"],
            "isRead" => $get["isRead"],
            "delHours" => $get["delHours"],
            "delTime" => $get["delTime"],
            "expireTime" => $get["expireTime"],
            "addTime" => $get["addTime"],
            "isDelete" => $get["isDelete"],
            "taskId" => $get["taskId"],
        );
        $data = array();
        $i = 0;
        $time = time();
        foreach($result as $key => $r){
            $userId = $r["id"];
            $l["userId"] = $userId;
            $data[] = $l;
            if($i >= 100 || !isset($result[($key + 1)])){
                $r = $meailObj -> addAll($data);
                $i = 0;
                $data = array();
            }
            $iPP;
        }
    }

pictures and code blocks are attached to facilitate you to have different habits to view, this is this, I have curl get access to it elsewhere, but it does not have the effect of its code (data writing). Excuse me, is there any writing that is not up to standard?

Php
Mar.16,2021

file_get_contents?


debug the accepted parameters first to see whether the request has been reached and whether the parameters have been received. If there is no major problem, it should be on the initiating request header and set. There is no problem to check whether the code can run

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bd39-2c2b9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bd39-2c2b9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?