Tuesday 14 April 2020

भारत माझा देश आहे...



रोडच्या त्या साईडला तो बराच वेळ उभा होता .
ओपीडीत आज रविवार असल्यामुळे व रविवारी ओपिडी बंद ठेवत असल्याकारणाने जास्त कुणी पेशंट ही नव्हते.
पण यावेळी आठवड्यातून असलेली व्हिसिट लॉक डाऊन मुळे रद्द करावी लागली होती. म्हणून मग घरी थांबाण्यापेक्षा ओपिडीत बसावे असा विचार करुण क्लिनिक उघडले .

रिसेप्शनिस्ट सुट्टीवरच होती .म्हणून मुद्दामहून ओपिडीत येणाऱ्या जाणाऱ्यावर नजर ठेवून होतो.

क्लिनिक च्या मेन शटर च्या अगदी समोर पोरगेला एकजण  उभा होता .
तो मी बसलेल्या चेअर वरुन समोरच दिसत असल्यामुळे न राहून त्याच्याकडे वांरवार लक्ष जात होते .

बाहेर किराणा दुकान , पिठाची गिरणी व एक दुधाची डेअरी एवढी  सोडली तर बाकी सर्व दुकाने बंदच होती.

आकरा साडेअकरा झाले असतील ..तुरळक लोक रोडवर ये जा करत होते .
कुठे पोलिसांचे पेट्रोलींग च्या गाडीचा सायरन दूरवर ऐकू येत होता .

तब्बल अर्ध्या तासापासून तो उभा होता, शेवटी न राहून व जराशा शंकेने म्हणा हवं तर त्याला बाहेर जाऊन मी आवाज दिला

" काय रे काय करतोय इथे ? "

तसा तो रोड क्रॉस करुन इकडच्या साइड ने आला .
मळकट निळा टि शर्ट घातलेला .वरची दोन बटण तुटलेली होती . केस अस्तव्यस्त झालेले ,खाली खाकी कलरची हाफ पॕन्ट घातलेली होती .  दोन्ही पायात स्लिपर होती दोन वेगवेगळ्या कलरची
गळ्यात लाल दोरा होता .
कपडे जसे हॕन्कर ला लटकावे तसे त्याचे हात पाय त्या ड्रेस मधून जाणवत होते
तेरा चौदा च्या आत बाहेर असावा ...

"काही नाही साहेब थोड सामान घ्यायचं होत .."

जवळ येत तो म्हणाला .

" किराणा घ्यायचा का ? "

तो काहीच नाही बोलला ..

"अरे मग सामान म्हणजे काय ,बाकी तर बंद आहे सगळ्या दुकान  "
मी जरा दाटून मोठ्याने बोललो ..

"पीठ घ्यायचं साहेब "

"दळन आणलेस का ..मग तसे सांगायच ना .."

नाही साहेब दळन नाही आणले ..

अरे तु आत्ताच तर म्हणाला ना पीठ घ्यायचे असे ..

"पीठ घ्यायचे पण गिरणी चालू आहे..ती बंद व्हायची वाट बघून राहीलो "

आता मला जरा त्याच्या बोलण्याची चिड आली ..
आधी म्हणे दळण नाही आणले ,मग म्हणतो पीठ घ्यायचे ,नंतर म्हणतो गिरणी बंद व्हायची वाट बघतोय ...

अशी उडवा उडवीची उत्तरे ऐकून मला जरा आणखीनच शंका यायला लागली त्याच्यावर .
जरी वय कमी असले तरी कुणाचा काय भरवसा म्हंटल ..

जरा दरडावून विचार काय प्रकार आहे सांग गुपचूप ..केव्हाच बघतोय समोर उभा आहेस तु.. काय घरावर पाळत ठेवतोय का ...
खरं खरं  सांग ..

"नाही नाही तसे नाही साहेब ..खरचं  पीठ घ्यायला थांबलो इथं ."
गिरणीवाल्याला विचारा हवं तर .."

बोलण्यातून दयेचा सुर जाणवला ..बोलताना  ही नीट मराठीत बोलत होता ..

जरा नरमाईने घेत मी म्हटलं ..

"कुठून आला ..घर कुठे तुझे "

"मनमाड "

ही अजून एक गुगली होती माझ्यासाठी ..
मला कशाचाच कशाशी मेळ लागेना  ..

"मग इकडे काय करतोय नीट सांग मला ..घडीत एक सांगतो घडीत काही वेगळच "

पाणी देता का जरा ,उन्हात उभा राहून तहान लागली...

त्याला जरा वेटींग मधे ठेवलेल्या ग्लासात पाणी दिले.

"सांग आता "
माझा धीर सुटत चालला होता आणि एक अनामिक उत्सुकता ही लागली होती तो काय सांगतो याची .

"मी मनमाड चा आहे साहेब ..
रेल्वे स्टेशनवर राहतो "

" घरचे "  त्याचे बोलणे अर्धवट तोडतच मी बोललो..

"नाहीये .."

नाहीये म्हणजे ..?

"माहित नाही .."

"मग इकडे कसा आला आणि काय करतोस तू ..?"

"मी स्टेशन वरच राहतो ..रेल्वे मध्ये गोळ्या ,बिस्किट विकतो .."

बापरे तु म्हणतो घरचे नाही कुणी मग त्यासाठी पैसे कुठून आणतोस ..

"स्टेशन बाजूला दुकानदार आहे ,सामान त्याचे असते सर्व मी फक्त विकतो ,जेवढे विकेल त्यातून मला कमिशन मिळते ..

अच्छा ..शिक्षण झालंय का काही ?

त्याचे राहनीमान आणि त्याची बोलण्याची भाषा याचा मेळ बसत नव्हता ,तो उत्तम मराठी बोलत होता ..

"शिक्षण नाही झाले साहेब पण इंग्लिश हिंदी मराठी उर्दू या सगळ्या भाषा येता मला कमीजास्त .."

माझा इन्टरेस्ट वाढत होता त्याचे बोलणे ऐकून ..

"येवढे सगळ्या भाषा कशा येतात तुला मग .."

"साहेब रेल्वेत धंदा करतो ना ,रोज हजारो प्रकारची लोक भेटतात ..
सगळे क्लास माहीती आपल्याला .."

क्लास शब्द उच्चारताना त्याने हात उंचवून अगदी अॕक्शन करुन दाखविली .

एवढासा पोरगा तो पण त्याचे बोलणे ऐकून मी अचंबीत होत होतो .
 
"आणि इकडे कसा आला मग"

"ते स्टेशन बंद झाले ना ..रेल्वे बंद झाल्या ..काचीकुडा ने वापस जायच तर गाडी तिकडेच थांबली ..

कसली सोय नाही..मग या रोटेगाव स्टेशन ला मालगाडीने आलो पण ती इथवरच होती ..

"मग इकडे कसा आला ..?"

"पोटासाठी साहेब
विकायला सोबत आणलेला माल संपला .गोळ्या बिस्कीट सगळे खाल्ले..

भूक लागली तर गावात फिरलो पण
घर दार बंद सगळीकडे ,मागायला गेलो तर जवळ येऊ देत नाही कुणी ..

काल परवा एक दोघांनी पोळी भाजी दिली त्यावर गुजारना झाला पण ती लोक आज दिसली नाही परत मग
गावात पायी चालत आलो ..
सगळीकडे बंद होत ..
पोलिसांचे चार दोन फटके चूकवत इकडे आलो.

त्या गिरणी वाल्याला पीठ विचारलं "

"कसलं पीठ ..?"

"ते दळताना खाली पडते ते उरलेल पिठ ..
तो देतो बोलला म्हणून थांबलो होतो इथे .."

"त्या पिठाचं काय करणार ..? "

आश्चर्याने मी विचारले
साहजिकच मला प्रश्न पडला ,ना घर ना दार मग हा पीठ घेऊन करेल काय ..

"पीठ खाऊन पोट भरेल साहेब .."

हे सांगताना त्याच्या चेहऱ्यावर कसलेच संवेदना नव्हत्या .चेहऱ्यावरील भावछटेत कुठलाही बदल न करता अगदी निरागसतेने तो बोलला ..

पोटाची खळगी भागविण्यासाठी ह्याने शोधलेला हा पर्याय माझ्यातरी ऐकविण्यात नव्हता ..

काय बोलणार .पुढे मला सुचेना ..

त्या गिरणी वाल्याचे आभार मानावे कि स्वतःची लाज बाळगावी ते कळेना ..

त्याची परिस्थिती जेमतेम असूनही त्याने निदान पिठाची का होईना मदत केली आणि मी उगाच त्या पोराला संशयाने बघत होतो केव्हापासून ..
माझी मलाच लाज वाटली.

जनावरांची चंदी ( खाद्य)  बनवायला जे पीठ वापरले जाते त्यातून हा पोटाची भूक शमवत होता .
या पेक्षा वाईट ते काय असु शकते ..

तेरा चौदा वर्षात या मुलाला आयुष्याकडून आलेल्या अनुभवाने काय काय शिकविले होते ..
कुठल्याही परिस्थितीचे भांडवल न करता त्या परिस्थितीतून स्वतःला तो क्षणोक्षणी घडवत होता .
मागेपुढे कुणी नसताना ही 'मला जगायचं' हे ध्यानी ठेवून, त्याचा रोज जगण्यासाठीचा संघर्ष सुरु होता .
तेही सतत डोळे आणि कान उघडे ठेवून ..
आजूबाजूला घडणाऱ्या ..बघितलेल्या सर्वच घटनांमधून तो शिकत होता ,ज्ञान ,बोध घेत होता आणि स्वतःला घडवत होता ..बालमजूरी व ती करवून घेणे हे कायदाने गुन्हा आहे हे त्याला कदाचित ठाऊकच  नसावे .

गिरणीतले खाली पडलेले पीठ कुणाची एक वेळची भूक देखील भागवू  शकते हे मला पहिल्यांदा समजले होते ..

घरात आपल्याला रोज तीच तीच भाजी पोळी खाऊन कंटाळा येतो.भात ..कांदापोहे ,पकोडे आणि अजून बरेच काही जिभेचे चोचले थांबता थांबत नाही .आज हे तर उद्या ते चमचमीत खायला हवं असते.
सध्या बराच रिकामा वेळ मिळतोय तर आपण नवनवीन पदार्थ बनवायला शिकतोय ..निदान त्याने तरी जिभेवर नवी चव रेंगाळेल आणि वेळचा उपयोग होऊन करमणूक पण होईल मग त्याच डिशेस चे फोटो सोशल मिडीयावर टाकायचे ,आपल्या लाईक्स आणि कमेंट ची संख्या वाढविण्यात आपण व्यस्त असतो.

पण त्याच वेळी एकवेळच्या जेवणासाठी कुणी दाराबाहेर आपली बाहेर डोकवण्याची वाट बघतयं हे आपल्या ध्यानीही नसते.

जागतिक महामारी येतात आणि जातातही.. काही घेऊन तर बरेच काही देऊन जातात..शिकवून जातात...माहमारीने मरणांऱ्यापेक्षाही अन्नाशिवाय भूकेने  मरणऱ्यांची सख्यां कैकपटीने जास्त आहे

फक्त पीठ खाऊनही जगता येत हे नव्यानं कळालं होत .
लाजेखातर का होईना त्याला मदत करावी असे मला मनोमन वाटले ..

माझ्या परीने त्याची सोय केली .
तो जाण्यासाठी  वळला..
उद्याचा सशक्त भारत ..भूकेने हतबल झालेला .
पुढे चालता झाला .
विज्ञानाच्या साहाय्याने चंद्रापर्यंत झेपावणाऱ्या  देशांनी भूक न लागणारे औषध शोधायला हवे  असा  विचार मनात चमकून गेला.
त्या पाठमोऱ्या  उज्वल प्रगतशील भारताकडे मी बराच वेळ बघतच होतो.

......@डॉ .प्रविण तांबे
- ७७०९५८६०८२

Tuesday 28 November 2017

How to insert data in database using php-mysql.

In this example I have created a database having Student Table with RollNo, StudentName, Marks field. Using php we can easily insert data into this table as I shown in following steps.


I have created Following files:
Index.html : This file contain Main Menu
<html >
<head>
<title>Untitled Document</title>
</head>
<body bgcolor="#FFFF00">
<h1>Main Menu</h1>
<hr>
<a href="insert.html">Registration of student</a><br>
<a href="remove.php">Cancel Registration</a><br>
<a href="display.php">View student List</a><br>
</body>
</html>

Insert.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
.td_left {
     background-color: #CC9;
}
</style>
</head>

<body bgcolor="#CCCC00">

<form action="insert.php" method="post">
<table width="59%" height="203" border="1">
  <tr>
    <th colspan="2" scope="row">STUDENT ENTRY FORM</th>
  </tr>
  <tr>
    <th class="td_left" width="34%" scope="row">Roll No</th>
    <td width="66%">  &nbsp;
      <input name="rno" type="text" size="8" /></td>
  </tr>
  <tr>
    <th class="td_left" scope="row">Student Name</th>
    <td><input name="sname" type="text" size="20" /></td>
  </tr>
  <tr>
    <th class="td_left" scope="row">Marks</th>
    <td>&nbsp;&nbsp;<input name="marks" type="text" size="10" /></td>
  </tr>
  <tr>
    <th scope="row">&nbsp;</th>
    <td>&nbsp;&nbsp;<input name="" type="submit" />&nbsp;</td>
  </tr>
</table>
</form>
<p>&nbsp;</p>
</body>
</html>

Insert.php
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

</head>

<body>
 <?php
$rno=$_POST['rno'];
$sname=$_POST['sname'];
$marks=$_POST['marks'];

mysql_connect("localhost","root","");
mysql_select_db("collegedb");
mysql_query("insert into student values(".$rno.",'".$sname."',".$marks.")") or die(mysql_error());
echo"<h1>Record Inserted Successfully</h1>";
echo"<a href=\"index.html\">goto main Menu </a></h1>";

?>
</body>
</html>

Remove.php
<html>


<body  bgcolor="#999933">

<form action="<?php $_SERVER['PHP_SELF']?>" method="GET">
<font bold size=12> Deletion form  </font><hr>

Enter Roll Number:
<input type="text" name="rno"><br><br>

<input type="Submit"  name="Submit" value="Remove"><br>
<A HREF = "index.html">Main menu</a><br>
</form>
<?php

$id=$_GET['rno'];
mysql_connect("localhost","root","");
mysql_select_db("collegedb");
$result=mysql_query("delete  from student where rno=".$id) or die(mysql_error());
if($result)

   echo "Record deleted successfully";
echo"<a href=\"index.html\">goto main Menu </a></h1>";

?>
</body>
</html>


Delete.php

<html>

<?php

$id=$_GET['rno'];
mysql_connect("localhost","root","");
mysql_select_db("collegedb");
$result=mysql_query("Delete * from student where rno=".$id) or die(mysql_error());
if($result)
   echo "Record deleted successfully";
echo"<a href=\"index.html\">goto main Menu </a></h1>";
?>
<body>

<form action="<?php $_SERVER['PHP_SELF']?>" method="GET">
<font bold size=12> Deletion form  </font>
Enter Roll Number:
<input type="text" name="rno"><br><br>

<input type="Submit" name="Submit" value="Remove"><br>
<A HREF = "index.html">Main menu</a><br>
</form>
</html>


Display.php











<html>
<body  bgcolor="#999933"><?phpmysql_connect("localhost","root","");
mysql_select_db("collegedb");
$result=mysql_query("select * from student ") or die(mysql_error()); 
echo "<table width=300 bgcolor=yellow align=center border=1>";
echo "<tr align=center><th>Roll No</th>";  echo "<th>Name</th>";
  echo "<th>Marks </th></tr>";
while($row = mysql_fetch_array($result))
{  
echo "<tr align=center><td>".$row['rno']."</td>";  echo "<td>".$row['sname']."</td>";
  echo "<td>".$row['marks']."</td></tr>";}echo"</table>";
?>
<a href="index.html">
<--goto main Menu </a> 
</body>
</html>

click here to download above all files and extract them to your server folder.

Thursday 15 October 2015

Net surfing strategy between different types of user



New User
Daily User
Programmer
Browsing for
Requirements only
new things, Entertainment, and Timepass
Solving problems and getting solution, and new Technology
Searching strategy
Use any search engine, or  Use google at each time
Set Google as default search engine
Uses stack overflow, or use programming sites as search engine
Result  searching method
Click on any result  & Get satisfy
Look for each and every result and find best as per requirement
Get satisfy on  result which solve problem
After getting  info
Read Each and Every line and Word
Read summary only.
Copy and paste, and change as per requirement
About Adds
Click on adds if they found in search result. And can’t understand diff between Adv and result
If job is to see adv. Then waste more time in watching adds
Don’t have time to look  towards adds.  They create adds for others.
On social sites
Read full article at a each time
Having experience about reading article, they just summarized articles.
Read only Problem solving articles
And like only Step-by –step articles.
Comments
Having no words for comments or  comments are look like as a paragraph
Comments are look like as a short forms  & smiley format.  Vowels are omitted specially
For  eg. Hv a Gd Day  ;)
Comments contain references ,hyperlinks, website names, and downloading link.
Working Time
Browse for 1-2 hour
(waste most time in finding, reading result)
Browse for 4-5 hour per  day. (waste time in downloading media files)

Browse for full working time of job 6-8 Hr with 2-3Hr extra at Home (most time spend on copy-paste, edit code, if not work then try for next result)
Saving data
Mostly in Download folder at C: drive
Mostly in downloading folder of Downloader Software like IDM, FDM, etc

Monthly Data usage
1 GB
2-5 GB (having ability to use 1 GB per day)
Unlimited (more than 5GB)
Storage devices
2-4 GB pen drive is sufficient
Even 8-16 GB pen drives also not  sufficient
Use Cloud services.  Mostly Storage device not  required.
Downloaded data types
Mostly Document files and reports, email, etc
Contains media files , wallpapers,  games, and videos , Application software and Tools
Use online Tools and cloud services,  data contains database files, software SDK’s, and use portable apps, and portable OS

Monday 30 July 2012

Play Youtube Video without buffering


Play Youtube Video on Your PC without buffering with 15 to 20 kbps speed
Requirement:                                                     

1) Internet Modem having minium speed upto 15 kbps
2) Googlechrome Browser


                Many times it happend that we are unable to watch video on youtube with 2G speed, or we have to wait for long time


I have better solution for this,
Actually youtube having their different site for mobile as,  http://m.youtube.com
we can play you-tube Video on this site with 3GP quality(144p).


Procedure:                                                                                                          
1)just goto above site
2)Search you Video
3)Click on the Video link
4)then it will open Video with "Watch Video" option
5) Right Click on that link and select "Copy link address" option


6)Now open any Video player software on your PC which supports to the .3GP video quality
eg. VLC player, KMP player.


7) In these video player there is an option for "playing Network video"
8) Select that option and paste the Video link address which we were already copied
9) Check that the video urll having .3gp extension at last.
for eg: rtsp://v1.cache3.c.youtube.com/CjYLENy73wIaLQnwU5mIQrLp8RMYDSANFEIJbXYtZ29vZ2xlSARSBXdhdGNoYNOcs_-Rwd-AUAw=/0/0/0/video.3gp


10) if that Video window size is too small then adjust it as medium so that the VIDEO will be clear to watch.
11) Enjoy Watching Video....
-------------------------------------------------------------[ Thanks for Reading ]---------------------

Friday 6 July 2012

How to find proper solution of any problem

Many times it happens that we have very  small problems in any computer's application project. Actually sometimes that problems are very small; i.e. although they look like very difficult to solve but is has very little solution.

So to find proper answer for problem is the second step in R&D, because first step is to create problem.

There are various ways to solve this many problems as follows:

1) Better way is go in the depth of the research of problem.

2) Use reference book

3) Google is better solution for any problem in the world.So search your problem on it. For your problems Google shows many solution, at such time you need to find appropriate solution link for your problem. Actually Google shows different types of solution links which may be Image Link,Direct link of any PDF file,Video Links,forum links, blogger link, and some links are such links which address contain your problems name. You may select such a links to got your problems solution.

4)If you need information only then go to  Wikipedia's website. This site shown details information without any advertisement. So for any type of information you must search your problem on this website.

5)There are different types of forums website also available on internet. This sites are mainly developed only for Questions & Answers. So if you have any Difficult question & you are not got your problem solution, then goto such websites & post your Question there you may see that there are some questions which are related to your question. which having answers on it. you may got your answer here. The main advantage of such forum is that, on this forum there are intelligent software engineers, developer, Administrator are working. they suggest the answer to you wich contain important information & direct link to your solution. So to use access forum website is also important solution to your problem.

6)Next way is "Google Images ". 
    To use this way search the images which are closely related to your question. This is very important way & it show exact solution link to our  problem. Because Google Images shows correct website, because it contains important images related to your problems.

7) For any practical problem, search your problems on YouTube directly. Because it shows practical video for  your problem. This is bettter understandable way for practical question's Solution.