true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_CONNECTTIMEOUT => 3, CURLOPT_TIMEOUT => 5, ] ); $rawResponse = curl_exec($curl); if ($rawResponse === false) { $errorMessage = curl_error($curl) ?: 'Unknown cURL error'; } else { $httpStatus = curl_getinfo($curl, CURLINFO_RESPONSE_CODE); $decoded = json_decode($rawResponse, true); if (json_last_error() === JSON_ERROR_NONE) { $displayPayload = json_encode( $decoded, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES ); } else { $displayPayload = $rawResponse; } } curl_close($curl); $escapedUrl = htmlspecialchars(DOMORE_SIM_URL, ENT_QUOTES, 'UTF-8'); $escapedFetched = htmlspecialchars( $fetchedAt->format('Y-m-d H:i:s T'), ENT_QUOTES, 'UTF-8' ); $escapedStatus = $httpStatus !== null ? (int) $httpStatus : null; $escapedError = $errorMessage !== null ? htmlspecialchars($errorMessage, ENT_QUOTES, 'UTF-8') : null; $escapedPayload = htmlspecialchars( $displayPayload ?? 'No payload received.', ENT_NOQUOTES, 'UTF-8' ); ?> DCS DoMore SIM Feed
Source:
Fetched:
HTTP Status:
Auto-refresh: 1 seconds

Failed to retrieve feed: