© 2012 Joe Ross LTD. All Rights Reserved.
Home | About | Add Your Site | Advertise | Contact | Merchants | Coupons | Notifications | Disclaimer
Up to 60% off local deals in Preston, CT, United States. Find all the Daily Deals from companies like Groupon, Living Social, and more..
Preston
59°F


Choose a new city
© 2012 Joe Ross LTD. All Rights Reserved.
Home | About | Add Your Site | Advertise | Contact | Merchants | Coupons | Notifications | Disclaimer
Array
(
[0] => Array
(
[api_query] => http://api.salecamel.com?api_key=123456789&do_get=local_locations
[execution_time] => 0.13404488563538
[from_api] => Array
(
[0] => Array
(
[mysql_query] => SELECT DISTINCT merch_region, merch_locality, merch_country, merch_id FROM merchants_local ORDER BY merch_region, merch_locality
[execution_time] => 0.049073934555054
)
)
)
[1] => Array
(
[api_query] => http://api.salecamel.com?api_key=123456789&do_get=get_local&location=Preston%2C+CT%2C+US&radius=10&search_limit=15
[execution_time] => 3.1834871768951
[from_api] => Array
(
[0] => Array
(
[mysql_query] => SELECT merch_latitude, merch_longitude
FROM merchants_local
WHERE merch_locality='Preston' AND merch_region='CT'
[execution_time] => 0.0062639713287354
)
[1] => Array
(
[news_api_call] => http://hyperlocal-api.outside.in/v1.1/states/CT/cities/Preston/stories?dev_key=6at3bn2z23e33eu92utrq6pt&sig=e796b21e2df64d162f4446bb51789b01&no-vertical=obituaries
)
[2] => Array
(
[mysql_query] => SELECT data FROM cache_news
WHERE locality = 'Preston'
AND region = 'CT'
AND country = 'United States'
AND expires > '1369382579'
[execution_time] => 0.00051712989807129
)
[3] => Array
(
[mysql_query] => INSERT INTO cache_news
(`locality`, `region`, `country`, `expires`, `data`)
VALUES
(
'Preston',
'CT',
'United States',
'1369386179',
'DNS Made Easy: Your DNS has expired 
DNS service for this domain has expired with DNS Made Easy
'
)
ON DUPLICATE KEY UPDATE expires = '1369386179', data = 'DNS Made Easy: Your DNS has expired 
DNS service for this domain has expired with DNS Made Easy
'
[execution_time] => 0.054581880569458
)
[4] => Array
(
[mysql_query] => SELECT data FROM cache_weather
WHERE locality = 'Preston'
AND region = 'CT'
AND country = 'United States'
AND expires > '1369382579'
[execution_time] => 0.00065994262695312
)
[5] => Array
(
[mysql_query] => INSERT INTO cache_weather
(`locality`, `region`, `country`, `expires`, `data`)
VALUES
(
'Preston',
'CT',
'United States',
'1369386179',
'{ \"data\": { \"current_condition\": [ {\"cloudcover\": \"100\", \"humidity\": \"94\", \"observation_time\": \"08:03 AM\", \"precipMM\": \"21.3\", \"pressure\": \"1006\", \"temp_C\": \"15\", \"temp_F\": \"59\", \"visibility\": \"8\", \"weatherCode\": \"296\", \"weatherDesc\": [ {\"value\": \"Light rain\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0033_cloudy_with_light_rain_night.png\" } ], \"winddir16Point\": \"S\", \"winddirDegree\": \"180\", \"windspeedKmph\": \"15\", \"windspeedMiles\": \"9\" } ], \"request\": [ {\"query\": \"Preston City, United States Of America\", \"type\": \"City\" } ], \"weather\": [ {\"date\": \"2013-05-24\", \"precipMM\": \"52.5\", \"tempMaxC\": \"24\", \"tempMaxF\": \"74\", \"tempMinC\": \"17\", \"tempMinF\": \"62\", \"weatherCode\": \"353\", \"weatherDesc\": [ {\"value\": \"Light rain shower\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0009_light_rain_showers.png\" } ], \"winddir16Point\": \"SW\", \"winddirDegree\": \"224\", \"winddirection\": \"SW\", \"windspeedKmph\": \"27\", \"windspeedMiles\": \"17\" }, {\"date\": \"2013-05-25\", \"precipMM\": \"12.8\", \"tempMaxC\": \"17\", \"tempMaxF\": \"63\", \"tempMinC\": \"12\", \"tempMinF\": \"54\", \"weatherCode\": \"143\", \"weatherDesc\": [ {\"value\": \"Mist\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0006_mist.png\" } ], \"winddir16Point\": \"S\", \"winddirDegree\": \"190\", \"winddirection\": \"S\", \"windspeedKmph\": \"17\", \"windspeedMiles\": \"10\" }, {\"date\": \"2013-05-26\", \"precipMM\": \"0.0\", \"tempMaxC\": \"12\", \"tempMaxF\": \"54\", \"tempMinC\": \"6\", \"tempMinF\": \"43\", \"weatherCode\": \"119\", \"weatherDesc\": [ {\"value\": \"Cloudy\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0003_white_cloud.png\" } ], \"winddir16Point\": \"NNW\", \"winddirDegree\": \"330\", \"winddirection\": \"NNW\", \"windspeedKmph\": \"17\", \"windspeedMiles\": \"10\" }, {\"date\": \"2013-05-27\", \"precipMM\": \"0.0\", \"tempMaxC\": \"12\", \"tempMaxF\": \"54\", \"tempMinC\": \"7\", \"tempMinF\": \"45\", \"weatherCode\": \"113\", \"weatherDesc\": [ {\"value\": \"Sunny\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0001_sunny.png\" } ], \"winddir16Point\": \"WNW\", \"winddirDegree\": \"300\", \"winddirection\": \"WNW\", \"windspeedKmph\": \"21\", \"windspeedMiles\": \"13\" } ] }}'
)
ON DUPLICATE KEY UPDATE expires = '1369386179', data = '{ \"data\": { \"current_condition\": [ {\"cloudcover\": \"100\", \"humidity\": \"94\", \"observation_time\": \"08:03 AM\", \"precipMM\": \"21.3\", \"pressure\": \"1006\", \"temp_C\": \"15\", \"temp_F\": \"59\", \"visibility\": \"8\", \"weatherCode\": \"296\", \"weatherDesc\": [ {\"value\": \"Light rain\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0033_cloudy_with_light_rain_night.png\" } ], \"winddir16Point\": \"S\", \"winddirDegree\": \"180\", \"windspeedKmph\": \"15\", \"windspeedMiles\": \"9\" } ], \"request\": [ {\"query\": \"Preston City, United States Of America\", \"type\": \"City\" } ], \"weather\": [ {\"date\": \"2013-05-24\", \"precipMM\": \"52.5\", \"tempMaxC\": \"24\", \"tempMaxF\": \"74\", \"tempMinC\": \"17\", \"tempMinF\": \"62\", \"weatherCode\": \"353\", \"weatherDesc\": [ {\"value\": \"Light rain shower\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0009_light_rain_showers.png\" } ], \"winddir16Point\": \"SW\", \"winddirDegree\": \"224\", \"winddirection\": \"SW\", \"windspeedKmph\": \"27\", \"windspeedMiles\": \"17\" }, {\"date\": \"2013-05-25\", \"precipMM\": \"12.8\", \"tempMaxC\": \"17\", \"tempMaxF\": \"63\", \"tempMinC\": \"12\", \"tempMinF\": \"54\", \"weatherCode\": \"143\", \"weatherDesc\": [ {\"value\": \"Mist\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0006_mist.png\" } ], \"winddir16Point\": \"S\", \"winddirDegree\": \"190\", \"winddirection\": \"S\", \"windspeedKmph\": \"17\", \"windspeedMiles\": \"10\" }, {\"date\": \"2013-05-26\", \"precipMM\": \"0.0\", \"tempMaxC\": \"12\", \"tempMaxF\": \"54\", \"tempMinC\": \"6\", \"tempMinF\": \"43\", \"weatherCode\": \"119\", \"weatherDesc\": [ {\"value\": \"Cloudy\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0003_white_cloud.png\" } ], \"winddir16Point\": \"NNW\", \"winddirDegree\": \"330\", \"winddirection\": \"NNW\", \"windspeedKmph\": \"17\", \"windspeedMiles\": \"10\" }, {\"date\": \"2013-05-27\", \"precipMM\": \"0.0\", \"tempMaxC\": \"12\", \"tempMaxF\": \"54\", \"tempMinC\": \"7\", \"tempMinF\": \"45\", \"weatherCode\": \"113\", \"weatherDesc\": [ {\"value\": \"Sunny\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0001_sunny.png\" } ], \"winddir16Point\": \"WNW\", \"winddirDegree\": \"300\", \"winddirection\": \"WNW\", \"windspeedKmph\": \"21\", \"windspeedMiles\": \"13\" } ] }}'
[execution_time] => 0.13549780845642
)
[6] => Array
(
[mysql_query] => SELECT *, ( 3959 * acos( cos( radians(41.487301) ) * cos( radians( merch_latitude ) ) * cos( radians( merch_longitude ) - radians(-71.989281) ) + sin( radians(41.487301) ) * sin( radians( merch_latitude ) ) ) ) AS distance
FROM merchants_local
HAVING distance < 10
ORDER BY distance
[execution_time] => 0.01940393447876
)
[7] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '263806' ORDER BY item_per_off
[execution_time] => 0.0073709487915039
)
[8] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '324427' ORDER BY item_per_off
[execution_time] => 0.011461019515991
)
)
)
)