Monday, December 7, 2015
TAJ MAHAL
one of the seven wonders of the world. Commissioned in 1632 by the Mughal emperor Shah Jahan to house the remains of his cherished wife, the Taj Mahal stands on the southern bank of the Yamuna River in Agra, India. The famed mausoleum complex, built over more than 20 years, is one of the most outstanding examples of Mughal architecture, which combined Indian, Persian and Islamic influences. At its center is the Taj Mahal itself, built of shimmering white marble that seems to change color depending on the sunlight or moonlight hitting its surface. Designated a UNESCO World Heritage site in 1983, it remains one of the world’s most celebrated structures and a stunning symbol of India’s rich history.
Under Aurangzeb’s long rule (1658-1707), the Mughal empire reached the height of its strength. However, his militant Muslim policies, including the destruction of many Hindu temples and shrines, undermined the enduring strength of the empire and led to its demise by the mid-18th century. Even as Mughal power crumbled, the Taj Mahal suffered from neglect and disrepair in the two centuries after Shah Jahan’s death. Near the turn of the 19th century, Lord Curzon, then British viceroy of India, ordered a major restoration of the mausoleum complex as part of a colonial effort to preserve India’s artistic and cultural heritage.
Today, some 3 million people a year (or around 45,000 a day during peak tourist season) visit the Taj Mahal. Air pollution from nearby factories and automobiles poses a continual threat to the mausoleum’s gleaming white marble façade, and in 1998, India’s Supreme Court ordered a number of anti-pollution measures to protect the building from deterioration. Some factories were closed, while vehicular traffic was banned from the immediate vicinity of the complex.
Friday, July 12, 2013
CSS Browser Hacks
10:39 PM
2 comments
I wanted to document every browser-specific css selector and style attribute hack I’ve seen. Plus there’s no way to provide stylesheets to only Safari, I believe. With these you’ll be able to better target IE, Firefox, Chrome, Safari and Opera from within the css.
------------------------------------------------
/* IE6 and below */
* html #uno { color: red }
/* IE7 */
*:first-child+html #dos { color: red }
/* IE7, FF, Saf, Opera */
html>body #tres { color: red }
/* IE8, FF, Saf, Opera (Everything but IE 6,7) */
html>/**/body #cuatro { color: red }
/* Opera 9.27 and below, safari 2 */
html:first-child #cinco { color: red }
/* Safari 2-3 */
html[xmlns*=""] body:last-child #seis { color: red }
/* safari 3+, chrome 1+, opera9+, ff 3.5+ */
body:nth-of-type(1) #siete { color: red }
/* safari 3+, chrome 1+, opera9+, ff 3.5+ */
body:first-of-type #ocho { color: red }
/* saf3+, chrome1+ */
@media screen and (-webkit-min-device-pixel-ratio:0) {
#diez { color: red }
}
/* iPhone / mobile webkit */
@media screen and (max-device-width: 480px) {
#veintiseis { color: red }
}
/* Safari 2 - 3.1 */
html[xmlns*=""]:root #trece { color: red }
/* Safari 2 - 3.1, Opera 9.25 */
*|html[xmlns*=""] #catorce { color: red }
/* Everything but IE6-8 */
:root *> #quince { color: red }
/* IE7 */
*+html #dieciocho { color: red }
/* IE 10+ */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
#veintiun { color: red; }
}
/* Firefox only. 1+ */
#veinticuatro, x:-moz-any-link { color: red }
/* Firefox 3.0+ */
#veinticinco, x:-moz-any-link, x:default { color: red }
/* FF 3.5+ */
body:not(:-moz-handler-blocked) #cuarenta { color: red; }
/***** Attribute Hacks ******/
/* IE6 */
#once { _color: blue }
/* IE6, IE7 */
#doce { *color: blue; /* or #color: blue */ }
/* Everything but IE6 */
#diecisiete { color/**/: blue }
/* IE6, IE7, IE8, but also IE9 in some cases :( */
#diecinueve { color: blue\9; }
/* IE7, IE8 */
#veinte { color/*\**/: blue\9; }
/* IE6, IE7 -- acts as an !important */
#veintesiete { color: blue !ie; } /* string after ! can be anything */
/* IE8, IE9 */
#anotherone {color: blue\0/;} /* must go at the END of all rules */
/* IE9, IE10 */
@media screen and (min-width:0\0) {
#veintidos { color: red}
}
-------------------------------------------------------------------------------
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="ie6.css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="ie6.css" />
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="ie7.css" />
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="ie8.css" />
<![endif]-->
<!--[if gte IE 9]>
<link rel="stylesheet" type="text/css" href="ie9.css" />
<![endif]-->
Thursday, June 13, 2013
PHP store Password in Encrypted Format During Registration.
6:45 AM
No comments
This article it for how to store passwords in encrypted format during registration. we can to do make how to create login to by providing the right credentials. This password will be stored in the database in encrypted format, So We hope you can to help from this article. thanks
Creation of Table
phpMyAdmin SQL Dump
version 2.10.1
http://www.phpmyadmin.net
Host: localhost
Generation Time: Feb 13, 2013 at 05:52 AM
Server version: 5.0.45
PHP Version: 5.2.5
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
Database: `home_work`
=====================
Table structure for table `employee`
CREATE TABLE `employee` (
`id` int(12) NOT NULL auto_increment,
`name` varchar(100) default NULL,
`address` varchar(100) NOT NULL,
`password` varchar(50) default NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `employee`
--
INSERT INTO `employee` (`id`, `name`, `address`, `password`) VALUES
(1, 'Raj', 'Pune', 'cac5ff630494aa784ce97b9fafac2500');
Note:
Here the password "raj123" is stored in encrypted format.
Now let's move to the code.
Config.php
<?php
$DBHOST = "localhost";
$DBNAME = "home_work";
$DBUSER = "root";
$sLink = mysql_connect($DBHOST,$DBUSER,'') or die('Connection with MySql Server failed');
mysql_select_db($DBNAME, $sLink) or die('MySql DB was not found');
?>
welcome.php
<?php
session_start();
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Welcome</title>
</head>
<body>
<form action="welcome.php" method="get" name="welcome">
<?php echo '<b>Welcome:::</b>'.$_SESSION["name"]; ?>
</form>
</body>
</html>
login.php
<?php
session_start();
include('config.php');
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Login</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
function validation()
{
var formName=document.frm;
if(formName.name.value == "")
{
document.getElementById("name_label").innerHTML='Please Enter Name';
formName.name.focus();
return false;
}
else
{
document.getElementById("name_label").innerHTML='';
}
if(formName.password.value == "")
{
document.getElementById("password_label").innerHTML='Please Enter Password';
formName.password.focus();
return false;
}
else
{
document.getElementById("password_label").innerHTML='';
}
}
</script>
</head>
<?php
if($_REQUEST["action"]=='login')
{
$_SESSION["name"]=$_POST["name"];
$name=mysql_real_escape_string($_SESSION["name"]);
$password=mysql_real_escape_string($_POST['password']);
$password=md5($password); // Encrypted Password
$sql="SELECT id FROM employee WHERE name='$name' and password='$password'";
$result=mysql_query($sql);
$count=mysql_num_rows($result);
if($count==1)
{
header("location: welcome.php");
}
else
{
echo "Your Login Name or Password is invalid";
}
}
?>
<body>
<form method="post" id="frm" name="frm" action="login.php?action=login" onSubmit="return validation();">
<table width="500" border="0">
<tr>
<td class="deepbluetextbold"><b>Login</b></td>
</tr>
<tr>
<td class="colouredCell">Name*</td>
<td>
<input type="text" name="name" id="fullname" autocomplete="off" value="<?php echo $_REQUEST[name]; ?>"/> <label id="name_label" class="level_msg"></label> </td>
</tr>
<tr>
<td class="colouredCell">Password*</td>
<td><input type="password" name="password" id="password" autocomplete="off"/> <label id="password_label" class="level_msg"></td>
</tr>
</table>
</tr>
<tr>
<td>
<input type="submit" name="Submit" value="login" /> </td>
<td> </td>
</tr>
</table>
</form>
</body>
</html>
Success.php
<?php
session_start();
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Success</title>
</head>
<body>
<form action="Success.php" method="post" name="Success">
<b>Registration Successfully Completed</b><br/>
<a href="login.php">Login?</a>
</form>
</body>
</html>
registration.php
<?php
session_start();
include('config.php');
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Employee Registration</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
function validation()
{
var formName=document.frm;
if(formName.name.value == "")
{
document.getElementById("name_label").innerHTML='Please Enter Name';
formName.name.focus();
return false;
}
else
{
document.getElementById("name_label").innerHTML='';
}
if(formName.address.value == "")
{
document.getElementById("address_label").innerHTML='Please Enter Address';
formName.address.focus();
return false;
}
else
{
document.getElementById("address_label").innerHTML='';
}
if(formName.password.value == "")
{
document.getElementById("password_label").innerHTML='Please Enter Password';
formName.password.focus();
return false;
}
else
{
document.getElementById("password_label").innerHTML='';
}
}
</script>
</head>
<?php
if($_REQUEST["action"]=='register')
{
$name=mysql_real_escape_string($_POST['name']);
$address=mysql_real_escape_string($_POST['address']);
$password=mysql_real_escape_string($_POST['password']);
$password=md5($password); // Encrypted Password
$sql="Insert into employee(name,address,password) values('$name','$address','$password');";
$result=mysql_query($sql);
echo "Registration Successfully Completed";
echo "<script>window.location.href='Success.php'</script>";
}
?>
<body>
<form method="post" id="frm" name="frm" action="registration.php?action=register" onSubmit="return validation();">
<table width="500" border="0">
<tr>
<td class="deepbluetextbold"><b>Employee Registration</b></td>
</tr>
<tr>
<td class="colouredCell">Name*</td>
<td>
<input type="text" name="name" id="fullname" autocomplete="off" value="<?php echo $_REQUEST[name]; ?>"/> <label id="name_label" class="level_msg"></label> </td>
</tr>
<tr>
<td class="colouredCell">Address*</td>
<td><input type="text" name="address" id="email" autocomplete="off" value="<?php echo $_REQUEST[address]; ?>"/> <label id="address_label" class="level_msg"></label></td>
</tr>
<tr>
<td class="colouredCell">Password*</td>
<td><input type="password" name="password" id="password" autocomplete="off"/> <label id="password_label" class="level_msg"></td>
</tr>
</table>
</tr>
<tr>
<td>
<input type="submit" name="Submit" value="Register" /> </td>
<td> </td>
</tr>
</table>
</form>
</body>
</html>
Thanks no more today ..............
Creation of Table
phpMyAdmin SQL Dump
version 2.10.1
http://www.phpmyadmin.net
Host: localhost
Generation Time: Feb 13, 2013 at 05:52 AM
Server version: 5.0.45
PHP Version: 5.2.5
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
Database: `home_work`
=====================
Table structure for table `employee`
CREATE TABLE `employee` (
`id` int(12) NOT NULL auto_increment,
`name` varchar(100) default NULL,
`address` varchar(100) NOT NULL,
`password` varchar(50) default NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `employee`
--
INSERT INTO `employee` (`id`, `name`, `address`, `password`) VALUES
(1, 'Raj', 'Pune', 'cac5ff630494aa784ce97b9fafac2500');
Note:
Here the password "raj123" is stored in encrypted format.
Now let's move to the code.
Config.php
<?php
$DBHOST = "localhost";
$DBNAME = "home_work";
$DBUSER = "root";
$sLink = mysql_connect($DBHOST,$DBUSER,'') or die('Connection with MySql Server failed');
mysql_select_db($DBNAME, $sLink) or die('MySql DB was not found');
?>
welcome.php
<?php
session_start();
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Welcome</title>
</head>
<body>
<form action="welcome.php" method="get" name="welcome">
<?php echo '<b>Welcome:::</b>'.$_SESSION["name"]; ?>
</form>
</body>
</html>
login.php
<?php
session_start();
include('config.php');
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Login</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
function validation()
{
var formName=document.frm;
if(formName.name.value == "")
{
document.getElementById("name_label").innerHTML='Please Enter Name';
formName.name.focus();
return false;
}
else
{
document.getElementById("name_label").innerHTML='';
}
if(formName.password.value == "")
{
document.getElementById("password_label").innerHTML='Please Enter Password';
formName.password.focus();
return false;
}
else
{
document.getElementById("password_label").innerHTML='';
}
}
</script>
</head>
<?php
if($_REQUEST["action"]=='login')
{
$_SESSION["name"]=$_POST["name"];
$name=mysql_real_escape_string($_SESSION["name"]);
$password=mysql_real_escape_string($_POST['password']);
$password=md5($password); // Encrypted Password
$sql="SELECT id FROM employee WHERE name='$name' and password='$password'";
$result=mysql_query($sql);
$count=mysql_num_rows($result);
if($count==1)
{
header("location: welcome.php");
}
else
{
echo "Your Login Name or Password is invalid";
}
}
?>
<body>
<form method="post" id="frm" name="frm" action="login.php?action=login" onSubmit="return validation();">
<table width="500" border="0">
<tr>
<td class="deepbluetextbold"><b>Login</b></td>
</tr>
<tr>
<td class="colouredCell">Name*</td>
<td>
<input type="text" name="name" id="fullname" autocomplete="off" value="<?php echo $_REQUEST[name]; ?>"/> <label id="name_label" class="level_msg"></label> </td>
</tr>
<tr>
<td class="colouredCell">Password*</td>
<td><input type="password" name="password" id="password" autocomplete="off"/> <label id="password_label" class="level_msg"></td>
</tr>
</table>
</tr>
<tr>
<td>
<input type="submit" name="Submit" value="login" /> </td>
<td> </td>
</tr>
</table>
</form>
</body>
</html>
Success.php
<?php
session_start();
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Success</title>
</head>
<body>
<form action="Success.php" method="post" name="Success">
<b>Registration Successfully Completed</b><br/>
<a href="login.php">Login?</a>
</form>
</body>
</html>
registration.php
<?php
session_start();
include('config.php');
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Employee Registration</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
function validation()
{
var formName=document.frm;
if(formName.name.value == "")
{
document.getElementById("name_label").innerHTML='Please Enter Name';
formName.name.focus();
return false;
}
else
{
document.getElementById("name_label").innerHTML='';
}
if(formName.address.value == "")
{
document.getElementById("address_label").innerHTML='Please Enter Address';
formName.address.focus();
return false;
}
else
{
document.getElementById("address_label").innerHTML='';
}
if(formName.password.value == "")
{
document.getElementById("password_label").innerHTML='Please Enter Password';
formName.password.focus();
return false;
}
else
{
document.getElementById("password_label").innerHTML='';
}
}
</script>
</head>
<?php
if($_REQUEST["action"]=='register')
{
$name=mysql_real_escape_string($_POST['name']);
$address=mysql_real_escape_string($_POST['address']);
$password=mysql_real_escape_string($_POST['password']);
$password=md5($password); // Encrypted Password
$sql="Insert into employee(name,address,password) values('$name','$address','$password');";
$result=mysql_query($sql);
echo "Registration Successfully Completed";
echo "<script>window.location.href='Success.php'</script>";
}
?>
<body>
<form method="post" id="frm" name="frm" action="registration.php?action=register" onSubmit="return validation();">
<table width="500" border="0">
<tr>
<td class="deepbluetextbold"><b>Employee Registration</b></td>
</tr>
<tr>
<td class="colouredCell">Name*</td>
<td>
<input type="text" name="name" id="fullname" autocomplete="off" value="<?php echo $_REQUEST[name]; ?>"/> <label id="name_label" class="level_msg"></label> </td>
</tr>
<tr>
<td class="colouredCell">Address*</td>
<td><input type="text" name="address" id="email" autocomplete="off" value="<?php echo $_REQUEST[address]; ?>"/> <label id="address_label" class="level_msg"></label></td>
</tr>
<tr>
<td class="colouredCell">Password*</td>
<td><input type="password" name="password" id="password" autocomplete="off"/> <label id="password_label" class="level_msg"></td>
</tr>
</table>
</tr>
<tr>
<td>
<input type="submit" name="Submit" value="Register" /> </td>
<td> </td>
</tr>
</table>
</form>
</body>
</html>
Thanks no more today ..............
Monday, January 14, 2013
Automobile industry in Bangladesh
8:43 AM
Automobile industry in Bangladesh, Bangladesh Real Estates companies, Jiban Bima Corporation, public private university in bangladesh
1 comment
Progoti is the only state own automobile company in Bangladesh and
they made & repair only government related automation product. Bangladesh
machine tools Factory (BMTF) was establish in February 11, 1979 and it is the
commercial automobile assembly plant, maintain by Bangladesh Army, specially for defense industry.
Walton & Aftab is the largest Bangladeshi private automobile
company in Bangladesh .
Walton Company establish a large plant for motorcycle production, on the other
hand Aftab automobile is famous for bus accessories assembling.
Mitsubishi Pajero will be assembling in bangladesh |
Mitsubishi Pajero, Hino Bus, Tata bus/Truck, Proton
automobile manufacturer company already buildup their production assemble plant in Bangladesh and h ere is the important news, near Dhaka, location name
is Dolaikhal , is the largest automobile market in Bangladesh for expire &
new automobile parts.
Walton motorcycle |
Bangladesh
most popular Automobile company List
Aftab
Automobiles
Pragoti
TagAZ
Bangladesh (Proposed)
Mitsubishi
Pajero
Walton
Bangladesh Real Estates companies list
7:11 AM
Bangladesh Real Estates companies, Jiban Bima Corporation, public private university in bangladesh
21 comments
Country development depends on his structure improvement.
From five basic needs house is one of them. All time all people saw a dream to
make his/her own house but limitation of place and material high pricing , their dream never
comes true but in model civilization, many Real Estates & apartment
developments company ready for your, to made a beautiful house or apartments as
like your dream.
Sunday, January 13, 2013
Bangladeshi Public Private University list latest Information
List of Public University in Bangladesh
Bangabandhu Agricultural University
Hajee Mohammad Danesh Science and Technology University ,
Dinajpur
Islamic University, Chittagong
Mawlana Bhasani Science and Technology University
Patuakhali Science and Technology University
Sher-e-Bangla Agricultural University, Dhaka
List of Private University in Bangladesh
North south University
Southeast university
Atish Dipankar
University of Science and
Technology (ADUST)
Central Women's University
Daffodil Institute of Information Technology
East - West
University
Eastern University
International Islamic University Chittagong
International University
of Business , Agriculture
and Technology (IUBAT)
Islamic University
of Technology (IUT)
Saturday, January 12, 2013
Jiban Bima Corporation life insurance Company in Bangladesh
Jibon Bima Corporation was established on May 14, 1973 by government of the people’s republic of Bangladesh and it is the only government owned life insurance Company in Bangladesh. Jibon Bima has largest work network all over the Bangladesh with six regional, ten zonal, sixty four sales and three hundred sixty five branch offices
Services
Online service
Online policy status
Online premium payment
Bounce information
Tax benefit/rebates
Customer service section
Insurance policy & schemes
Existing schemes
Individual schemes
Group schemes
Jibon Bima Corporation Head office & regional office address & contract number:
Head Office address:
Jiban Bima Corporation
24, Motijheel, Commercial Area
Dhaka, Bangladesh
Phone :-( 88)-(02)-9551414, 9559041-2
Website:
Jiban Bima Corporation
Dhaka Regional office
7, Bangabandhu Avenue
Dhaka, Bangladesh
Phone :-( +88)-(02)-9564458, 9555735
Chittagong Regional office
1053, Sheik Mujib Road
Agrabad, Chittagong
Bangladesh
Phone :-( 88)-(031)-721095
Khulna Regional office
KDA Avenue
Shib Bari Moar, Khulna
Bangladesh
Phone :-( 88)-(041)-722957
Rajshahi Regional office
Kazi Hata, Rajshahi
Bangladesh
Phone :-( 88)-(0721)-772244
Rajshahi Regional office
Kazi Hata, Rajshahi
Bangladesh
Phone :-( 88)-(0721)-772244
Barisal Regional office
122-123 Sajarini Super Market
East Bogra Road, Barishal
Bangladesh
Phone :-( 88)-(0431)-52621
Sylhet Regional office
Airport Road, Amberkhana, Sylhet
Bangladesh
Phone :-( 88)-(0821)-716545
Rangpur Regional office
Station Road, Rangpur
Bangladesh
Phone :-( 88)-(0521)-62066
if you need any more information about Jibon Bima Corporation life insurance company visit their website
Subscribe to:
Posts (Atom)