Parse error*: syntax error, unexpected ':' in xxx\xxx\xx on line *120*
line 120 is
Code: Select all
curl_setopt($ch, CURLOPT_USERPWD, $this->$user:$this->$password);Documentation seems to support this usage
It appears to be correct
curl::option CurlHandle,"USERPWD","verhas:m23kkdUT"
Pass a string as parameter, which should be username:password to use for the connection. If the password is left out, you will be prompted for it.
http://www.scriptbasic.com/html/texi/mo ... _3.23.html
Any help will be appreciated.