Skip to content

Instantly share code, notes, and snippets.

View Mauryashubham's full-sized avatar

Shubham Maurya Mauryashubham

View GitHub Profile
@Mauryashubham
Mauryashubham / index.php
Last active August 3, 2017 09:50
Call a HTML JavaScript Function from PHP using echo
/**
@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.
@Mauryashubham
Mauryashubham / index.php
Last active August 3, 2017 09:46
Show Progress Bar After Registration Form Submission
/**
@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.
@Mauryashubham
Mauryashubham / index.php
Last active August 3, 2017 05:04
Password Hashing and Crypting Using PHP
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
@Mauryashubham
Mauryashubham / index.html
Last active July 31, 2017 12:12
Simple html Bootstrap login form
Download the Project here : http://shubhammaurya.com/tuts/simple-html-bootstrap-login-form/
STAY CONNECTED FOR MORE
@Mauryashubham
Mauryashubham / minimize-and-float-video-on-scroll.css
Created July 15, 2017 06:47
JW Player Demo: Minimize and Float Video on Scroll
.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;
@Mauryashubham
Mauryashubham / index.php
Created March 15, 2017 14:09
SHARE POST ON FACEBOOK PLUGIN EASY WAY
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];
@Mauryashubham
Mauryashubham / class.User.php
Last active August 28, 2017 10:10
Send Email using Php-Mailer in PHP
<?php
/**
*
*/
class USER
{
private $db;
//Constructor
@Mauryashubham
Mauryashubham / index.php
Created March 10, 2017 07:13
Simple Live Notification Example in PHP using Ajax
Hi all , Welcome to Maurya Tricks , Today we are going to discuss ,
how to make a Simple Live Notification Example in PHP using Ajax
/**
@author : Shubham Maurya,
Email id : [email protected]
**/
//Database Creation
@Mauryashubham
Mauryashubham / index.php
Created March 9, 2017 10:29
Open Choose File option by clicking on Image or Button in HTML
Hi all , Welcome to Maurya Tricks , Today we are going to discuss ,
how to Open Choose File option by clicking on Image or Button in HTML
/**
@author : Shubham Maurya,
Email id : [email protected]
**/
1.Make a file in notepad and save it as index.php and paste the below code.
@Mauryashubham
Mauryashubham / index.php
Created March 9, 2017 08:27
Upload and Retrieve Image From Database in PHP
Hi all , Welcome to Maurya Tricks , Today we are going to discuss ,
How to Upload and Retrieve Image From Database in PHP
//Database Creation
Make a database named “testdb and table named “image” .
Give the element name 'b_image' (varchar(255)) in tables 'test'.
//Make a folder named "image" in your directory , here the images get saved
1.Make a file in notepad and save it as index.php and paste the below code.