$value) { $value = urlencode(stripslashes($value)); if($i == 0) { $QueryString .= "$key=$value"; $i ++ ; } else{ $QueryString .= "&$key=$value"; } } $QueryString .= "&ScriptName=" .urlencode($ScriptName); $QueryString .= "&syst=new&d=" .urlencode($d); function GetData($QueryString) { if(intval(get_cfg_var('allow_url_fopen')) && function_exists('readfile')) { if(!@readfile("http://www.link-trinity.com/shuya/browse.php?".$QueryString)) { echo "Error processing request"; } } elseif(intval(get_cfg_var('allow_url_fopen')) && function_exists('file')) { if(!($content = @file("http://www.link-trinity.com/shuya/browse.php?".$QueryString))) { echo "Error processing request"; } else { echo @join('', $content); } } elseif(function_exists('curl_init')) { $ch = curl_init ("http://www.link-trinity.com/shuya/browse.php?".$QueryString); curl_setopt ($ch, CURLOPT_HEADER, 0); curl_exec ($ch); if(curl_error($ch)) echo "Error processing request"; curl_close ($ch); } else { echo "Error....All functions for handling remote pages are disabled my your web host. Contact Your web host to enable remote pages hadling PHP function like curl or fopen"; } } function GetMetaData($QueryString) { if(intval(get_cfg_var('allow_url_fopen')) && function_exists('readfile')) { if(!@readfile("http://www.link-trinity.com/metadata.php?".$QueryString)) { echo "Error processing request"; } } elseif(intval(get_cfg_var('allow_url_fopen')) && function_exists('file')) { if(!($content = @file("http://www.link-trinity.com/metadata.php?".$QueryString))) { echo "Error processing request"; } else { echo @join('', $content); } } elseif(function_exists('curl_init')) { $ch = curl_init ("http://www.link-trinity.com/metadata.php?".$QueryString); curl_setopt ($ch, CURLOPT_HEADER, 0); curl_exec ($ch); if(curl_error($ch)) echo "Error processing request"; curl_close ($ch); } else { echo "Error....All functions for handling remote pages are disabled my your web host. Contact Your web host to enable remote pages hadling PHP function like curl or fopen"; } } // ############################### Dynamic Scripting Section - Completed ############################################# ?>