$v)
$query[$k] = $v;
$query['remote-user'] = $_SERVER['REMOTE_ADDR'];
if ($isEmbedded) $query['embedded'] = "true";
$request = array('http' => array(
'method' => 'GET'
));
$defaultPort = 80;
$proxyURL = "http://";
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on')
{
$proxyURL = "https://";
$defaultPort = 443;
}
$proxyURL .= $_SERVER['HTTP_HOST'];
if ($_SERVER['SERVER_PORT'] != $defaultPort)
$proxyURL .= ":". $_SERVER['SERVER_PORT'];
$proxyURL .= $_SERVER['SCRIPT_NAME'];
$query['proxyURL'] = urlencode($proxyURL);
$pi = $_SERVER['PATH_INFO'];
if ($pi == "" || $pi == "/") $pi = "/index.html";
$ipos = stripos($pi, "/", 0);
if ($ipos !== FALSE && stripos($pi, "/", $ipos + 1) !== FALSE)
{
$isEmbedded = false;
ob_clean();
}
$q = http_build_query($query);
$url = "http://showroom.auction123.com" . $pi ."?". $q;
if (ini_get('allow_url_fopen') && function_exists('fopen'))
{
if (count($_POST))
{
$request['http']['method'] = 'POST';
$request['http']['content'] = http_build_query($_POST);
}
$context = stream_context_create($request);
$fh = fopen($url, "rb", false, $context);
echo stream_get_contents($fh);
fclose($fh);
}
else if (function_exists('curl_init'))
{
$curlHandler = curl_init($url);
curl_setopt($curlHandler, CURLOPT_RETURNTRANSFER, 1);
if (count($_POST))
{
curl_setopt($curlHandler, CURLOPT_POST, 1);
curl_setopt($curlHandler, CURLOPT_POSTFIELDS, http_build_query($_POST));
}
echo curl_exec($curlHandler);
curl_close($curlHandler);
}
if (!$isEmbedded) exit();
}
?>
New Ford Cars, Trucks & SUV's at Orange Motors in
Albany NY
|
|
|
|
|
|
|
View The
Latest Ford & Mazda News

↑ Grab this Headline Animator
|
|
|
Sales Hours: |
|
|
Monday - Thursday
8am - 8pm
Friday
8am - 6pm
Saturday
8am - 5pm
Sunday
11am - 4pm |
|
|
Service Hours: |
|
|
Monday - Thursday
6am - 6pm
Friday
6am - 6pm
Saturday
7am - 1pm
Sunday
Closed |
|
|
® Orange
Motor Co., Inc
799 Central Ave., Albany NY 12206 |
 |
Designated as a safe site |
|
|