Thursday 30 June 2011

validation of number in javascript

function check_number()
{
var number=document.getElementById("mobileno").value;

if(isNaN(number))
{
alert("number only");

return false;
}
else
{
return true;
}
}

online streaming,cctv in php

WOWZA is a server that is use for live steaming 

Wednesday 29 June 2011

finding mac address

<?php
/*
* Getting MAC Address using PHP
*Kapil sharma
*/
ob_start(); // Turn on output buffering
system(‘ipconfig /all’); //Execute external program to display output
$mycom=ob_get_contents(); // Capture the output into a variable
ob_clean(); // Clean (erase) the output buffer
$findme = “Physical”;
$pmac = strpos($mycom, $findme); // Find the position of Physical text
$mac=substr($mycom,($pmac+36),17); // Get Physical Address
echo $mac;
?>

HELLO

Hi Frnds,
thats my first artical on my blog.
on my blog u can share Your thoughts about Different kind of technologies and poetry.


With Regards
Kapil Sharma