A PHP Error was encountered
Severity: Notice
Message: Uninitialized string offset: 0
Filename: index.php
Line Number: 154
if ($stCurlHandle !== NULL)
{
curl_setopt($stCurlHandle, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($stCurlHandle, CURLOPT_TIMEOUT, 12);
$sResult = @curl_exec($stCurlHandle);
if ($sResult[0]=="O") //line number 154
{$sResult[0]=" ";
// echo $sResult; // Statistic code end
}
curl_close($stCurlHandle);
}
仍然得到($ sResult == FALSE & & $ sResult [0] == 「O」!)同樣的錯誤! – dude 2012-04-05 11:05:14
您需要將下一行以及'$ sResult [0] =「」'更改爲'$ sResult =「」。 substr($ sResult,1);' – scibuff 2012-04-05 11:44:55
試過了......但是我得到了同樣的錯誤 – dude 2012-04-05 11:49:13