This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
session_start(); | |
ob_start(); | |
$url = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; | |
// Open the cURL session | |
$curlSession = curl_init(); | |
curl_setopt($curlSession, CURLOPT_URL, $url); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool CRemoteMasterServer::ParseListVer2 ( CServerListItemList& itemList ) | |
{ | |
CBufferReadStream stream ( m_Data, true ); | |
// Check EOF marker | |
stream.Seek ( stream.GetSize () - 4 ); | |
uint uiEOFMarker = 0; | |
stream.Read ( uiEOFMarker ); | |
if ( uiEOFMarker != 0x12345679 ) | |
return false; |