Sunday, 9 October 2016

Redirect url / php page without using the header function

if (condition)

 code to execute ; 
 die("<script>location.href = 'http://phpbymj.blogspot.in/'</script>"); 
} else 

 return false; 
}

Wednesday, 5 October 2016

Bootstrap Glyphicons Icon CDN & Example


Below is the sample how to use CDN of Bootstrap Icone

---------------------------------------------------------------------
Bootstrap CDN: 

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
    

---------------------------------------------------------------------
All BootstrapIcone find here:
http://www.w3schools.com/icons/bootstrap_icons_glyphicons.asp

---------------------------------------------------------------------
<!DOCTYPE html>
<html>
<head>
<title>Bootsrap Icons</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
</head>
<body>


 <span class="glyphicon glyphicon-asterisk"></span> 
 <br>
 <span class="glyphicon glyphicon-plus"></span>
 <br>
 <span class="glyphicon glyphicon-eur"></span>
 <br>
 <span class="glyphicon glyphicon-euro"></span>

</body>
</html>

    

--------------------------------------------------------------------- OUTPUT:

Google Icon for HTML


Below is the sample how to use CDN of Google Icone

---------------------------------------------------------------------
Goggle CDN: 
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">

---------------------------------------------------------------------
All Google Icone find here:
https://design.google.com/icons/


---------------------------------------------------------------------
<!DOCTYPE html>
<html>
<head>
<title>Google Icons</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
</head>
<body>

<p>Some Google icons:</p>
<i class="material-icons">cloud</i>
<i class="material-icons">favorite</i>
<i class="material-icons">attachment</i>
<i class="material-icons">computer</i>
<i class="material-icons">traffic</i>
<br><br>

<p><code>Styled Google icons (size and color):</code></p>
<i class="material-icons" style="font-size:24px;">cloud</i>
<i class="material-icons" style="font-size:36px;">cloud</i>
<i class="material-icons" style="font-size:48px;color:red;">cloud</i>
<i class="material-icons" style="font-size:60px;color:lightblue;">cloud</i>

</body>
</html>

--------------------------------------------------------------------- OUTPUT: