See How Much You Could Save with Discount Realty

Save upto
$10,100
When you BUY or SELL with Discount Realty

$1,010,000
$200,000 $2,000,000

Popular Cities

Not intended to solicit parties under an exclusive contract with a brokerage. MLS®, REALTOR®, and the associated logos are trademarks of the Canadian Real Estate Association. RebateRealty Inc, is an Ontario licensed Real Estate Brokerage TREB® & CREA® The listing data is provided under copyright by the Toronto and Brampton Real Estate Board - TREB® and BREB®. The listing data is deemed reliable but is not guaranteed accurate by the Toronto Real Estate Board nor RebateRealty Inc, Brokerage. © 2017

Copyright 2017. All Rights Reserved. Discount Realty.
PHP warning

PHP warning

Cannot modify header information - headers already sent by (output started at /home/rebate/public_html/framework/web/CController.php:793)

/home/rebate/public_html/discountrealty.ca/protected/components/Helpers.php(53)

41     
42     public static function set_city()
43     {
44         if (!isset($_COOKIE['city'])||!isset($_COOKIE['region'])||!isset($_COOKIE['country'])||!isset($_COOKIE['address'])) {
45             $user_ip = getenv('REMOTE_ADDR');
46             $url      = "http://www.geoplugin.net/php.gp?ip=$user_ip";
47             $geo      = @unserialize(file_get_contents($url));
48             $city      = $geo["geoplugin_city"] ? addslashes($geo["geoplugin_city"]) : 'Toronto';
49             $region     = $geo["geoplugin_region"] ? addslashes($geo["geoplugin_region"]) : 'ON';
50             $country = $geo["geoplugin_countryName"] ? addslashes($geo["geoplugin_countryName"]) : 'Canada';
51             $address = "$city, $region, $country";
52             
53             setcookie("city", $city, time()+(3600*30*24), "/"); // for 30 days
54             setcookie("region", $region, time()+(3600*30*24), "/"); // for 30 days
55             setcookie("country", $country, time()+(3600*30*24), "/"); // for 30 days
56             setcookie("address", $address, time()+(3600*30*24), "/"); // for 30 days
57         }
58         return $_COOKIE['city'];
59     }
60     
61     public static function sat_cookie()
62     {
63         self::set_city();
64         if (!isset($_COOKIE['cookie_id'])) {
65             setcookie("cookie_id", session_id(), time()+(3600*5*24), "/"); // for 5 days

Stack Trace

#0
+
 /home/rebate/public_html/discountrealty.ca/protected/components/Helpers.php(53): setcookie("city", "Ashburn", 1578794597, "/")
48             $city      = $geo["geoplugin_city"] ? addslashes($geo["geoplugin_city"]) : 'Toronto';
49             $region     = $geo["geoplugin_region"] ? addslashes($geo["geoplugin_region"]) : 'ON';
50             $country = $geo["geoplugin_countryName"] ? addslashes($geo["geoplugin_countryName"]) : 'Canada';
51             $address = "$city, $region, $country";
52             
53             setcookie("city", $city, time()+(3600*30*24), "/"); // for 30 days
54             setcookie("region", $region, time()+(3600*30*24), "/"); // for 30 days
55             setcookie("country", $country, time()+(3600*30*24), "/"); // for 30 days
56             setcookie("address", $address, time()+(3600*30*24), "/"); // for 30 days
57         }
58         return $_COOKIE['city'];
#1
+
 /home/rebate/public_html/discountrealty.ca/protected/components/Helpers.php(63): Helpers::set_city()
58         return $_COOKIE['city'];
59     }
60     
61     public static function sat_cookie()
62     {
63         self::set_city();
64         if (!isset($_COOKIE['cookie_id'])) {
65             setcookie("cookie_id", session_id(), time()+(3600*5*24), "/"); // for 5 days
66         }
67         //echo $_COOKIE['cookie_id']; exit;
68     }
#2
+
 /home/rebate/public_html/discountrealty.ca/index.php(19): Helpers::sat_cookie()
14 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
15 
16 require_once($yii);
17 Yii::createWebApplication($config)->runEnd('front');
18 
19 Helpers::sat_cookie();
2019-12-12 21:03:17 Apache Yii Framework/1.1.17