• Friday, October 04th, 2013

Navagraha Temples Tour Route Map
http://www.marskarthik.com/navagraha.html

Category: Spiritual | Tags: ,  | Leave a Comment
• Wednesday, April 21st, 2010

If you have Type 2 diabetes, it is guaranteed that your pancreas will definitely be affected. Sugar, which is in most food we eat, converts itself into glucose once in our blood stream. Once it goes into the blood cells, it is affected by insulin from the pancreas and our body utilizes it as fuel. A person who has Type 2 diabetes has some difficulty producing as well as utilizing insulin. While you may have copious amounts of glucose in your body, the cells have a difficult time looking for them.

When it comes to this medical condition, the American Diabetes Association plays a big role in amassing important information. One country considered to be unhealthy is America because 23.6 million of its populace has been diagnosed with Type 2 diabetes. Type 2 diabetes affects ninety percent of this populace. Diabetic people (who are also somewhat overweight), unsurprisingly have relatives who also possess the same condition. The presence of too much glucose in your body could lead to irreparable damage to both the internal organs and the entire nervous system as well.

A Diabetic Life
The easiest and the most efficient way to treat your Type 2 diabetes is through healthy living practices on a daily basis. Among these practices include eating healthy and engaging in exercise. The healthy practices that you regularly do will have an enormous lasting and positive effect on you. To avoid health complications, many doctors have recommended that you ensure that the glucose levels in your body are within the appropriate range.
The blood glucose level in your body can easily be monitored simply by using the finger prick test. Such a test is as good as an HbA1c test when it comes to checking and tracking your glucose fluctuations. This HbA1c test is able to determine the levels of glycated hemoglobin in your body, as well as know if the glucose levels are on the high side. The average level which diabetics maintain, as per the A1c test results, are at seven percent. One can experience a 40% reduction in the possibility of developing risks if people simply ensure that their a1c levels are kept at seven percent.

Too-Tight Controls
Recently, there have been medical studies that seem to indicate that maintaining A1c levels below 7% may be a bad idea after all. One particular study done in Lancet and Swedish Medical Center located in Seattle, showed that there is a higher death risk for people who use insulin regularly and those who have a1c median levels. On the contrary, there have been many tests that show that it is also healthy to keep your a1c levels at 7%. According to accredited endocrinologist Matt Davies, the seven percent maintaining level of a1c is all right; still, physicians need to consider their patient’s medical history even before they prescribe the treatment.

About the Author – Kristina V. Ridley writes on http://www.diabetesmeters.org, her personal hobby blog focused on helping people get free information to prevent diabetes and test blood glucose at home.

• Wednesday, August 26th, 2009

• Friday, August 14th, 2009

Note: Please refer my previous post for inserting an image into MYSQL Database. http://www.marskarthik.com/blog/?p=652

$sql = “select * from `mytable`.`picture` LIMIT 1″;
$result = mysql_query($sql) or die(‘Bad query!’.mysql_error());
while($row = mysql_fetch_array($result,MYSQL_ASSOC)){
$db_img = $row['IMAGE'];
}
$db_img = base64_decode($db_img); //print_r($db_img );
$db_img = imagecreatefromstring($db_img);
if ($db_img !== false) {
imagegif($db_img);
}
imagedestroy($db_img);

Category: PHP  | Leave a Comment
• Friday, August 14th, 2009

You need to first create a table with the mysql code as shown below

CREATE TABLE `mytable`.`mypicture` (
`ID` INT( 5 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`IMAGE` BLOB NOT NULL
) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci;

First you will have code for connecting to mysql with username and password. Then here comes the php code for inserting image.

$handle = fopen(“mylogo.gif”, “rb”);
$img = fread($handle, filesize(‘mylogo.gif’));
fclose($handle);
$img = base64_encode($img);
$sql = “INSERT INTO `mytable`.`picture`(`IMAGE`) VALUES (‘$img’)”;
mysql_query($sql) or die(‘Bad Query’);
echo “Success!!!!”;

Category: PHP  | Leave a Comment
• Friday, August 14th, 2009

Note: Below code is used to find the Workgroup of a windows system on your network provided your web server runs on a windows machine. This code use windows “nbtstat” command to get this information.

< ?php

function ip2wgroup($ip)
{
$out = trim(shell_exec("nbtstat -A $ip"));
$str1="<20> UNIQUE Registered”;
$str2=”<1E> GROUP Registered”;
$str3=”<00> GROUP Registered”;
$x1=strpos($out,$str1);
$x2=strpos($out,$str2);
$x3=strpos($out,$str3);
if(($x2-$x1)< =50)
{
$len=strlen($str1);
$value=substr($out,$x1+$len,$x2-($x1+$len));
$value=trim($value);
}
else
{
$len=strlen($str1);
$value=substr($out,$x1+$len,$x3-($x1+$len));
$value=trim($value);
}
return($value);
}

echo ip2wgroup("192.168.1.100");
?>

Category: PHP  | Leave a Comment
• Friday, August 14th, 2009

Note: Below code is used to find the Hostname/Computername of a windows system on your network provided your web server runs on a windows machine. This code use windows “nbtstat” command to get this information.

< ?php

function ip2host($ip)
{
$out = trim(shell_exec("nbtstat -A $ip"));
$str1="---------------------------------------------";
$str2="<00> UNIQUE Registered”;
$x1=strpos($out,$str1);
$x2=strpos($out,$str2);
$len=strlen($str1);
$value=substr($out,$x1+$len,$x2-($x1+$len));
$value=trim($value);
return($value);
}

echo ip2host(“192.168.1.100″);

?>

Category: PHP  | Leave a Comment
• Friday, August 14th, 2009

Note: Below code is used to find the MAC address of a windows system on your network provided your web server runs on a windows machine. This code use windows “nbtstat” command to get this information.


< ?php

function ip2mac($ip)
{
$out = trim(shell_exec("nbtstat -A $ip"));
$length=strlen($out);
$mac="";
for ($i=17; $i>=1; $i–)
{
$mac= $mac . $out[$length-$i];
}
return($mac);
}

echo ip2mac(“192.168.1.100″);

?>

Category: PHP  | Leave a Comment

online pharmacy on line pharmacy rxcanadianonlinepharmacy.com #*\ order robaxin
Subscribe RSS © 2014 - marskarthik.com is powered by WordPress.
online pharmacy on line pharmacy rxcanadianonlinepharmacy.com #*\ order robaxin