I'm getting the following notice,
Notice: Use of undefined constant username - assumed 'username'
........
and the code that generates it,
$acct = array(username => $username, password => $password, domain => $domain);
Ami doing something wrong here. the original code had something like this,
$acct = array( username => "someuser", password => "pass123", domain => "thisdomain.com");
Thanks.
尝试引用密钥,如下所示:
$acct = array('username' => $username, 'password' => $password, 'domain' => $domain);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.