This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
*/ | |
class USER | |
{ | |
private $db; | |
//Constructor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi all , Welcome to Maurya Tricks , Today we are going to discuss , | |
how to Share Post on Facebook in an easy way. | |
1.Make a file in notepad and save it as index.php and paste the below code. | |
<html> | |
<body> | |
<div id="fb-root"></div> | |
<script>(function(d, s, id) { | |
var js, fjs = d.getElementsByTagName(s)[0]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.player-container { | |
background-color: black; | |
} | |
.player-minimize .player-position { | |
background-color: white; | |
border-radius: 2px; | |
bottom: 20px; | |
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25); | |
left: 20px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Download the Project here : http://shubhammaurya.com/tuts/simple-html-bootstrap-login-form/ | |
STAY CONNECTED FOR MORE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi all , Welcome to shubhammaurya.com , Today we are going to discuss , | |
how to Hash Password and Crypt Password Using PHP. | |
We are going to use 2 Methods. | |
1.crypt() and 2.password_hash() | |
1.Make a file in notepad and save it as index.php and paste the below code. | |
<?php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
@author : Shubham Maurya, | |
Email id : [email protected] | |
**/ | |
Hi all , Welcome to shubhammaurya.com , Today we are going to discuss , | |
how to Show Progress Bar After Registration Form Submission | |
1.Make a file in notepad and save it as index.php and paste the below code. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
@author : Shubham Maurya, | |
Email id : [email protected] | |
**/ | |
Hi all , Welcome to shubhammaurya.com , Today we are going to discuss , | |
how to Call HTML JavaScript Function from PHP using echo | |
1.Make a file in notepad and save it as index.php and paste the below code. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.Make a file in notepad and save it as home.php and paste the below code. | |
<?php | |
//connect to mysql database | |
$con = mysqli_connect("localhost", "root", "", "test") or die("Error " . mysqli_error($con)); | |
$fetch="SELECT COUNT(*) FROM login WHERE LastTimeSeen > DATE_SUB(NOW(), INTERVAL 5 MINUTE)"; | |
$fet=mysqli_query($con, $fetch); | |
$online_row = mysqli_fetch_row($fet); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
@author : Shubham Maurya, | |
Email id : [email protected] | |
**/ | |
1.Make a file in notepad and save it as index.php and paste the below code. | |
<?php | |
$DB_host = "localhost"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
@author : Shubham Maurya, | |
Email id : [email protected] | |
**/ | |
Hi all , Welcome to shubhammaurya.com , Today we are going to discuss , | |
How to Call Connect PHP to MSSQL database | |
1.Make a file in notepad and save it as dbconfig.php and paste the below code. |